PR rtl-optimization/80112
commitf91625f49997c32b171e3ab503316feb1ad66a2e
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Mar 2017 13:37:01 +0000 (24 13:37 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Mar 2017 13:37:01 +0000 (24 13:37 +0000)
tree4f150d6022b345e7d0b758e9b6825c37e49d8a22
parent294d73345cdbfef301cbec7e5325c0d9d7cd398e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246441 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop-doloop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr80112.c [new file with mode: 0644]