------- Comment #1 from rguenth at gcc dot gnu dot org  2010-01-30 22:03 -------
$ gcc-4.4 -S t.c -O2 -Wall -Wstrict-aliasing=2
t.c: In function ‘main’:
t.c:15: warning: dereferencing type-punned pointer might break strict-aliasing
rules

you need to enable level 2 to get warnings about this.


-- 


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

Reply via email to