re PR middle-end/71619 (ICE: in predict_loops, at predict.c:1772 with --param=max...
authorMartin Liska <mliska@suse.cz>
Thu, 23 Jun 2016 11:04:35 +0000 (13:04 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 23 Jun 2016 11:04:35 +0000 (11:04 +0000)
commit60fa7862a0a1ad80f587cb29bcc8613a78303f90
treedf16bfb9e6381769574b4fdd31b09baa90fe3fcf
parenta34c0db51e718fc4d6a50cb5f2e20154a032158d
re PR middle-end/71619 (ICE: in predict_loops, at predict.c:1772 with --param=max-predicted-iterations=0)

Fix PR middle-end/71619

PR middle-end/71619
* predict.c (predict_loops): Revert the hunk that was removed
in r237103.
* gcc.dg/pr71619.c: New test.

From-SVN: r237730
gcc/ChangeLog
gcc/predict.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr71619.c [new file with mode: 0644]