re PR rtl-optimization/80112 (ICE in doloop_condition_get at loop-doloop.c:158)
authorJakub Jelinek <jakub@redhat.com>
Fri, 24 Mar 2017 13:37:01 +0000 (14:37 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 24 Mar 2017 13:37:01 +0000 (14:37 +0100)
commit56010684160c394a1824909e2ac450a6da41db40
tree4f150d6022b345e7d0b758e9b6825c37e49d8a22
parentf0d7b52d4f84999ebef4888bced90a737fba7dfe
re PR rtl-optimization/80112 (ICE in doloop_condition_get at loop-doloop.c:158)

PR rtl-optimization/80112
* loop-doloop.c (doloop_condition_get): Don't check condition
if cmp isn't SET with IF_THEN_ELSE src.

* gcc.dg/pr80112.c: New test.

From-SVN: r246441
gcc/ChangeLog
gcc/loop-doloop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr80112.c [new file with mode: 0644]