https://bugs.kde.org/show_bug.cgi?id=370028

--- Comment #13 from Aleksandar Rikalo <aleksandar.rik...@imgtec.com> ---
(In reply to Julian Seward from comment #9)
> This feels to me like hiding misalignment problems.  I'd prefer to remove
> misaligned
> accesses where possible.  Building with --enable-usban at least makes it
> possible
> to see, on any platform, where the run-time misaligned accesses are.

Hi Julian,

My idea is not to hide all warnings, but to hide "false" ones.
There are situations (eg. vki-linux.h:677) where we know (for sure) that
address is aligned. Macro introduced in Patch 1/4 should be used to silence
compiler in these cases.

With -O2, there are no differences in object codes with or without using
PTR_CAST macro.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to