This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49321] Incorrect Optimization O2 and O3 on Shift Operation for 64 bit Integers
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 7 Jun 2011 21:25:12 +0000
- Subject: [Bug c++/49321] Incorrect Optimization O2 and O3 on Shift Operation for 64 bit Integers
- Auto-submitted: auto-generated
- References: <bug-49321-4@http.gcc.gnu.org/bugzilla/>
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.