http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53966
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |tree-optimization
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-14
21:10:26 UTC ---
Are you sure you are not invoking some undefined behavior, like signed overflow
or aliasing issues? Can you try with -fno-strict-aliasing and/or -fwrapv ?
"-O3 -fno-ipa-cp-clone" causes it, then most likely -O2 -finline-functions will
reproduce the issue too.