https://bugs.kde.org/show_bug.cgi?id=370028
Ivo Raisr <iv...@ivosh.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jsew...@acm.org |iv...@ivosh.net Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #15 from Ivo Raisr <iv...@ivosh.net> --- I am quite happy with the first patch (1/4). That particular expression in vki-linux.h has been extensively studied and found to be benign with regards to potential misaligned access. I'd reword the comment for PTR_CAST slightly: // Some architectures (eg. mips, arm) do not support unaligned memory access // by hardware, so GCC warn about suspicious situations. This macro could // be used to avoid these warnings but only after careful examination. Also why did you chose name 'PTR_CAST'? Perhaps ALIGN_CAST or ASSUME_ALIGNED would be more self explanatory? -- You are receiving this mail because: You are watching all bug changes.