[Bug c/50254] gcc-4.5 -fstrict-aliasing -fschedule-insns optimization produces wrong code
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 1 08:38:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50254
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-01 08:38:15 UTC ---
qentry->next = (void *)qhead;
is voiolating strict aliasing rules if you ever end up loading/storing
qentry->next->{prev,next}.
More information about the Gcc-bugs
mailing list