------- Comment #12 from rguenth at gcc dot gnu dot org 2008-03-24 16:48 ------- I tend to agree with Andrew here. If you go through a packed union the failure vanishes:
union U { unsigned u; }__attribute__((packed)); int main() { char buf[256]; char *dest; int i; dest = &buf[2]; for (i = 0; i < 32; i++) { ((union U *)dest)->u = 0; dest += 4; } return buf[2]; } So, IMHO this bug is invalid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35653