]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
re PR tree-optimization/68963 (O3 vs. O2 discards part of loop and terminates early)
authorRichard Biener <rguenther@suse.de>
Wed, 24 Feb 2016 12:03:27 +0000 (12:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 24 Feb 2016 12:03:27 +0000 (12:03 +0000)
commite53d562a36ead2279b98bc7cde3abe9606b44ee2
tree5cd461c7bd1554cfa9a6aa0662f753d76e4bb68a
parentdebc68edb4df2357589427fe90ea894467c7b2e2
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
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr68963.c [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c