OSDN Git Service

PR middle-end/54937
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Oct 2012 10:00:19 +0000 (10:00 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Oct 2012 10:00:19 +0000 (10:00 +0000)
commite3606104a1014abd90e0ab3acf3611594fc49fcf
tree01d502a4a89d9cd1c28d2e29499fd563893cfe5c
parent9f0ac0453a851227a97edd9c929c5d2792fc16df
PR middle-end/54937
* tree-ssa-loop-niter.c (record_estimate): Do not try to lower
the bound of non-is_exit statements.
(maybe_lower_iteration_bound): Do it here.
(estimate_numbers_of_iterations_loop): Call it.
* gcc.c-torture/execute/pr54937.c: New testcase.
* gcc.dg/tree-ssa/cunroll-2.c: Update.

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