re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440)
authorBin Cheng <bin.cheng@arm.com>
Tue, 9 Aug 2016 15:08:02 +0000 (15:08 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 9 Aug 2016 15:08:02 +0000 (15:08 +0000)
commit42970a179d71e59c317440d0567b003681e915ba
treee2dec7e06bcb0dea52cd1cba64b1dc05f6b884da
parent8aa46dd2d5808a951afee6c6322615225f298d6a
re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440)

PR tree-optimization/72772
* tree-ssa-loop-niter.c (loop_exits_before_overflow): Check equality
for expanded base.

gcc/testsuite
PR tree-optimization/pr72772
* gcc.dg/tree-ssa/pr72772.c: New test.

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