[Bug c++/49321] Incorrect Optimization O2 and O3 on Shift Operation for 64 bit Integers

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 7 21:25:00 GMT 2011


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-07 21:25:08 UTC ---
This is aliasing violation, the code has undefined behavior.



More information about the Gcc-bugs mailing list