tree-if-conv.c (predicate_scalar_phi): Update new_stmt if fold_stmt returned true.
authorAndrew Pinski <apinski@cavium.com>
Fri, 30 Jun 2017 20:40:38 +0000 (20:40 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 30 Jun 2017 20:40:38 +0000 (13:40 -0700)
commitfb6a764dfdb74bbd0acfb7dc8d95a98286637d8a
treebadd638916d579f151c94ab4bc771942166022d3
parent08fb13163ce5e7dcf61c3ce898a63bb54f1b6d3d
tree-if-conv.c (predicate_scalar_phi): Update new_stmt if fold_stmt returned true.

2017-06-30  Andrew Pinski  <apinski@cavium.com>

        * tree-if-conv.c (predicate_scalar_phi): Update new_stmt if
        fold_stmt returned true.
2017-06-30  Andrew Pinski  <apinski@cavium.com>

        * gcc.dg/torture/pr81245.c: New testcase.

From-SVN: r249854
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr81245.c [new file with mode: 0644]
gcc/tree-if-conv.c