[Bug middle-end/38537] -fstrict-aliasing and -Wstrict-aliasing do not work

2012-02-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38537 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/38537] -fstrict-aliasing and -Wstrict-aliasing do not work

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38537

[Bug middle-end/38537] -fstrict-aliasing and -Wstrict-aliasing do not work

2008-12-15 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-15 23:57 --- Richard, seems like the variable is going to anonymous and it is defined via a POINTER_PLUS_EXPR, we should go back one more on def-use chain. -- pinskia at gcc dot gnu dot org changed: What|Remov

[Bug middle-end/38537] -fstrict-aliasing and -Wstrict-aliasing do not work

2008-12-15 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-15 23:55 --- On the trunk we do get a warning: t.c: In function ‘main’: t.c:7: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules t.c:7: note: initialized from here Though it seems like the warning i