http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25173|0 |1 is obsolete| | --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-01 22:54:43 UTC --- Comment on attachment 25173 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25173 Draft patch S*it, patch is badly wrong: in general we really want to zero the unused bits of the highest word not of the __val. But the highest word either is all zeros anyway or has excess non zero bits beyond _Nb because written by __val, thus we have to restrict the zeroing of the highest bits of __val to this case.