re PR rtl-optimization/62146 (CSE replaces constant with an expression incorrectly)
authorEaswaran Raman <eraman@google.com>
Fri, 5 Sep 2014 22:23:26 +0000 (22:23 +0000)
committerEaswaran Raman <eraman@gcc.gnu.org>
Fri, 5 Sep 2014 22:23:26 +0000 (22:23 +0000)
commit14e4c2af4386b531f94a0ccdeb64d6282bc60415
tree402ca864e3336212cecef4013cf31f42d3c49309
parent8a03df77b1b29bc1a1609a68d694890a28e089a4
re PR rtl-optimization/62146 (CSE replaces constant with an expression incorrectly)

2014-09-05  Easwaran Raman  <eraman@google.com>

        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.

From-SVN: r214977
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr62146.C [new file with mode: 0644]