re PR tree-optimization/90240 (ICE in try_improve_iv_set, at tree-ssa-loop-ivopts...
authorBin Cheng <bin.cheng@linux.alibaba.com>
Tue, 30 Apr 2019 03:00:59 +0000 (03:00 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 30 Apr 2019 03:00:59 +0000 (03:00 +0000)
commit8c3ce59e2b10ecc3cf7fe9804005405bedc3e280
tree975cba07711e0530b593d2d2fd96957261cb3536
parent0c0b2104b467f85b7dcdd97285fbfa22c08b70f8
re PR tree-optimization/90240 (ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:6694)

PR tree-optimization/90240
Revert:
2019-04-23  Bin Cheng  <bin.cheng@linux.alibaba.com>

PR tree-optimization/90078
* tree-ssa-loop-ivopts.c (comp_cost::operator +,-,+=,-+,/=,*=): Add
checks for infinite_cost overflow.

* gcc/testsuite/g++.dg/tree-ssa/pr90078.C: New test.

From-SVN: r270673
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr90078.C [deleted file]
gcc/tree-ssa-loop-ivopts.c