------- Comment #6 from rguenth at gcc dot gnu dot org 2009-07-09 15:26 ------- g++-4.1 -S t.C -O2 -m32 -Wall t.C: In function TwoPointers InterlockedExchange(TwoPointers*, TwoPointers): t.C:60: warning: dereferencing type-punned pointer will break strict-aliasing rules t.C:60: warning: dereferencing type-punned pointer will break strict-aliasing rules t.C:61: warning: dereferencing type-punned pointer will break strict-aliasing rules t.C: In function int main(): t.C:85: warning: dereferencing type-punned pointer will break strict-aliasing rules t.C:86: warning: dereferencing type-punned pointer will break strict-aliasing rules t.C:68: warning: unused variable i t.C:69: warning: unused variable j
*** This bug has been marked as a duplicate of 21920 *** -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40698