peel-1.c: New testcase.
commit6acf25e4b380e5ad738ffe2830a71635bc5230d1
authorJan Hubicka <hubicka@gcc.gnu.org>
Tue, 23 Oct 2012 15:15:58 +0000 (23 15:15 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 23 Oct 2012 15:15:58 +0000 (23 15:15 +0000)
tree0f15c07165dd8eb1e94225c4f167441e61fadd00
parent2dc34a12e3edfc32133e6e000155ea7d66c9c706
peel-1.c: New testcase.

* gcc.dg/tree-prof/peel-1.c: New testcase.
* loop-unroll.c (decide_peel_simple): Simple peeling makes sense even
with simple loops; bound number of branches only when FDO is not
available.
(decide_unroll_stupid): Mention that num_loop_branches heuristics
is off.

From-SVN: r192718
gcc/ChangeLog
gcc/loop-unroll.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/peel-1.c [new file with mode: 0644]