[Bug rtl-optimization/62146] CSE replaces constant with an expression incorrectly
eraman at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 6 01:50:00 GMT 2014
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
More information about the Gcc-bugs
mailing list