------- Comment #8 from rguenth at gcc dot gnu dot org 2009-07-31 09:48 ------- With 4.4 you are probably simply lucky ;) This is an aliasing violation because C even considers
struct A { int i; }; struct B { int i; }; to be different. If the indirection isn't needed why provide two structs at all? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40909