diff options
author | Jan Hubicka <jh@suse.cz> | 2013-01-09 16:10:43 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-01-09 15:10:43 +0000 |
commit | 870ca331280a56f4dc9499d0046594b9bd63e7c4 (patch) | |
tree | fa91e2ed4dc3c3cbb1c733cf42692146e63b1edd /gcc/fortran/resolve.c | |
parent | 3cd232b5aafa8b8563d3bbe4b4e240eea6b93036 (diff) | |
download | gcc-870ca331280a56f4dc9499d0046594b9bd63e7c4.zip gcc-870ca331280a56f4dc9499d0046594b9bd63e7c4.tar.gz gcc-870ca331280a56f4dc9499d0046594b9bd63e7c4.tar.bz2 |
re PR tree-optimization/55875 (IVopts caused miscompilation)
PR tree-optimiation/55875
* gcc.c-torture/execute/pr55875.c: New testcase.
* g++.dg/torture/pr55875.C: New testcase.
* tree-ssa-loop-niter.c (number_of_iterations_cond): Add
EVERY_ITERATION parameter.
(number_of_iterations_exit): Check if exit is executed every
iteration.
(idx_infer_loop_bounds): Similarly here.
(n_of_executions_at_most): Simplify
to only test for cases where statement is dominated by the
particular bound; handle correctly the "postdominance"
test.
(scev_probably_wraps_p): Use max loop iterations info
as a global bound first.
From-SVN: r195054
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions