re PR tree-optimization/81388 (Incorrect code generation with -O1)
authorBin Cheng <bin.cheng@arm.com>
Thu, 20 Jul 2017 12:02:19 +0000 (12:02 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 20 Jul 2017 12:02:19 +0000 (12:02 +0000)
commit73c4b4df26d90486debc267cd61c55ab350de4e0
tree4b66df896dfeeb4859f5e87593d22ec46e1c455f
parent77e5edafafd54b6a68f56e2fb8be67a4dd68ec0c
re PR tree-optimization/81388 (Incorrect code generation with -O1)

PR tree-optimization/81388
Revert r238585:
2016-07-21  Bin Cheng  <bin.cheng@arm.com>

* tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Clean up
by removing computation of may_be_zero.

gcc/testsuite
PR tree-optimization/81388
* gcc.dg/tree-ssa/pr81388-1.c: New test.
* gcc.dg/tree-ssa/pr81388-2.c: New test.

From-SVN: r250384
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr81388-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr81388-2.c [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c