diff options
author | Richard Biener <rguenther@suse.de> | 2016-02-24 12:03:27 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-02-24 12:03:27 +0000 |
commit | e53d562a36ead2279b98bc7cde3abe9606b44ee2 (patch) | |
tree | 5cd461c7bd1554cfa9a6aa0662f753d76e4bb68a /gcc/gcse.c | |
parent | debc68edb4df2357589427fe90ea894467c7b2e2 (diff) | |
download | gcc-e53d562a36ead2279b98bc7cde3abe9606b44ee2.zip gcc-e53d562a36ead2279b98bc7cde3abe9606b44ee2.tar.gz gcc-e53d562a36ead2279b98bc7cde3abe9606b44ee2.tar.bz2 |
re PR tree-optimization/68963 (O3 vs. O2 discards part of loop and terminates early)
2016-02-24 Richard Biener <rguenther@suse.de>
PR middle-end/68963
* tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Fix
bogus check.
(record_nonwrapping_iv): Do not fall back to the low/high bound
for non-constant IV bases if the stmt is not always executed.
* gcc.dg/torture/pr68963.c: New testcase.
From-SVN: r233660
Diffstat (limited to 'gcc/gcse.c')
0 files changed, 0 insertions, 0 deletions