[Bug c++/47817] incorrectly working code generated with -O3

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 19 20:59:00 GMT 2011


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-19 20:56:45 UTC ---
I think you have some violation of the C/C++ aliasing rules where you access an
"unsigned int" via an "unsigned long long" which in turn causes undefined
behavior.



More information about the Gcc-bugs mailing list