------- Comment #1 from jakub at gcc dot gnu dot org  2009-02-16 19:30 -------
Created an attachment (id=17307)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17307&action=view)
ai.C

LC_ALL=C ./cc1plus -O2 -Wall -quiet /tmp/ai.C
/tmp/ai.C: In function 'void foo()':
/tmp/ai.C:2615: warning: dereferencing pointer '__x.15' does break
strict-aliasing rules
/tmp/ai.C:2479: note: initialized from here
/tmp/ai.C:2653: warning: dereferencing pointer '<anonymous>' does break
strict-aliasing rules
/tmp/ai.C:2342: note: initialized from here
/tmp/ai.C:2615: warning: dereferencing pointer '<anonymous>' does break
strict-aliasing rules
/tmp/ai.C:2281: note: initialized from here

Not sure if these are bugs in the aliasing code or libstdc++ headers.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39207

Reply via email to