This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52286] [4.6/4.7 Regression] wrong code bug
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Feb 2012 04:48:25 +0000
- Subject: [Bug tree-optimization/52286] [4.6/4.7 Regression] wrong code bug
- Auto-submitted: auto-generated
- References: <bug-52286-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52286
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Component|c |tree-optimization
Target Milestone|4.6.3 |---
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-17 04:48:25 UTC ---
Confirmed.
D.1711_3 = D.1710_2 & 2256872798;
which is likely CONSTANT
Lattice value changed to CONSTANT Lattice value changed to CONSTANT
0x00000000000000000 (0x0000000008685255e). Adding SSA edges to worklist.
The problem is obvious, 0x0000000008685255e should have its sign bit extended
to all the way to the end.