re PR tree-optimization/34114 (Missed optimization: cannot determine loop termination)
authorBin Cheng <bin.cheng@arm.com>
Tue, 2 Aug 2016 10:13:28 +0000 (10:13 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 2 Aug 2016 10:13:28 +0000 (10:13 +0000)
commit69b806f6a60efcf150b995e418f08b96d26dd5dc
tree96e4edc600bc2e24873a666089d8219b03b880b5
parent4e2f2da341683a28aa56fae94bc38c2b6341a9ad
re PR tree-optimization/34114 (Missed optimization: cannot determine loop termination)

PR tree-optimization/34114
* tree-ssa-loop-niter.c (number_of_iterations_ne): Prove no-overflow
information for more control IVs.

gcc/testsuite
PR tree-optimization/34114
* gcc.dg/tree-ssa/loop-42.c: New test.

From-SVN: r238983
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/loop-42.c [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c