unroll-1.c: New testcase.
commite598c332d81d419ecdfce59051bb4657c685e53f
authorJan Hubicka <jh@suse.cz>
Sat, 20 Oct 2012 15:51:16 +0000 (20 17:51 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 20 Oct 2012 15:51:16 +0000 (20 15:51 +0000)
tree595b4113b43061b69a63c45eb00bbb235517a85d
parentbcd8d322db3a07471bd32ceeefbd0c5145a934ca
unroll-1.c: New testcase.

* gcc.dg/tree-prof/unroll-1.c: New testcase.

* loop-unroll.c (decide_unroll_constant_iterations): Don't
perform unrolling for loops with low iterations bounds or estimates.

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