OSDN Git Service

* tree-ssa-loop-niter.c (number_of_iterations_cond): Split into several
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Jan 2006 12:29:06 +0000 (12:29 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Jan 2006 12:29:06 +0000 (12:29 +0000)
commit0f81d1b1db2329f88deb03f1ca4c1bf6476d23d8
tree22793cf18859c40c1d11f310d8c985db7f286d01
parent03c8b2e448895fb4738d873baf78452139212503
* tree-ssa-loop-niter.c (number_of_iterations_cond): Split into several
functions.
(number_of_iterations_ne, number_of_iterations_lt_to_ne,
assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt,
number_of_iterations_le): New functions.
(number_of_iterations_special): Removed.
(number_of_iterations_exit): Do not use number_of_iterations_special.
* tree.c (unsigned_type_for): Always return integer type.

* gcc.dg/tree-ssa/pr19210-1.c: Update outcome.  Add new test loop.
* gcc.dg/tree-ssa/pr19210-2.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109702 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
gcc/testsuite/gcc.dg/tree-ssa/pr19210-2.c
gcc/tree-ssa-loop-niter.c
gcc/tree.c