This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/67830] [6 Regression] wrong code at -O1 and above on x86_64-linux-gnu
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Oct 2015 08:32:42 +0000
- Subject: [Bug tree-optimization/67830] [6 Regression] wrong code at -O1 and above on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-67830-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67830
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-10-05
Component|rtl-optimization |tree-optimization
Target Milestone|--- |6.0
Summary|wrong code at -O1 and above |[6 Regression] wrong code
|on x86_64-linux-gnu |at -O1 and above on
| |x86_64-linux-gnu
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. .optimized already has an unconditional abort() call and forwprop2
changes it to that.
Applying pattern match.pd:2322, gimple-match.c:2002
gimple_simplified to _15 = d.2_9 - _5;
_16 = _15 & 254;
_12 = (int) _16;
Applying pattern match.pd:1853, generic-match.c:5128
Replaced '_12 != -2' with '1'
gimple_simplified to if (1 != 0)