http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47796
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-21 06:58:03 UTC --- (In reply to comment #3) > If it's not a bug, why is there the different behavior for -O0 and -O2 Because strict aliasing is not enabled at -O0, only at -O2 and above (-Os included).