* tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Do not
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Oct 2012 16:18:26 +0000 (16:18 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Oct 2012 16:18:26 +0000 (16:18 +0000)
commit3681186ec5cc73cbe9af15711fccd0cbbaca7ebe
tree14ab7474f3d373fee0bea0afe2d5c0a3d96fa5e5
parente10e3320b346319b92e6f0abae07257e6c47afbd
* tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Do not
predict loops with multiple exits realistically.
* cfgloopanal.c (single_likely_exit): New function.

* gcc.dg/unroll_5.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192433 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgloopanal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/unroll_5.c [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c