This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/62146] CSE replaces constant with an expression incorrectly
- From: "eraman at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Sep 2014 01:49:40 +0000
- Subject: [Bug rtl-optimization/62146] CSE replaces constant with an expression incorrectly
- Auto-submitted: auto-generated
- References: <bug-62146-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62146
--- Comment #3 from eraman at gcc dot gnu.org ---
Author: eraman
Date: Sat Sep 6 01:49:07 2014
New Revision: 214981
URL: https://gcc.gnu.org/viewcvs?rev=214981&root=gcc&view=rev
Log:
2014-09-05 Easwaran Raman <eraman@google.com>
Backport from mainline
PR rtl-optimization/62146
* ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of
hoisted instruction unconditional.
testsuite:
* testsuite/g++.dg/opt/pr62146.C: New.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/opt/pr62146.C
- copied unchanged from r214977, trunk/gcc/testsuite/g++.dg/opt/pr62146.C
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/ifcvt.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog