diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-20 00:33:54 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-20 00:33:54 +0000 |
commit | fffbaaf2c48cd01c8fa93e3ad84e1bec1120f06f (patch) | |
tree | 5414a0754638d6785e86a48ddc4976bc02d58a20 /libstdc++-v3 | |
parent | c017dd56fd4c5d2431485d720bf2d3c3f5d28896 (diff) | |
download | gcc-fffbaaf2c48cd01c8fa93e3ad84e1bec1120f06f.tar.gz |
PR tree-optimization/40087
* tree-ssa-loop-niter.c (number_of_iterations_ne_max,
number_of_iterations_ne): Rename never_infinite argument.
(number_of_iterations_lt_to_ne, number_of_iterations_lt,
number_of_iterations_le): Handle pointer-type ivs when
exit_must_be_taken is false.
(number_of_iterations_cond): Do not always assume that
exit_must_be_taken if the control variable is a pointer.
* gcc.dg/tree-ssa/pr40087.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147727 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
0 files changed, 0 insertions, 0 deletions