]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/68021 (ice in rewrite_use_nonlinear_expr with -O3)
authorBin Cheng <bin.cheng@arm.com>
Wed, 10 Feb 2016 14:09:05 +0000 (14:09 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 10 Feb 2016 14:09:05 +0000 (14:09 +0000)
commit13b562c502e92a602bf18e851c20fadfc2f4bfe9
tree0e86553ae1799439c262ed251c08bab100f3fd5e
parent00a8574af2b7df89e82dab3c415de8b7cb48a333
re PR tree-optimization/68021 (ice in rewrite_use_nonlinear_expr with -O3)

PR tree-optimization/68021
* tree-ssa-loop-ivopts.c (get_computation_aff): Set ratio to 1 if
when computing the value of biv cand by itself.

gcc/testsuite/ChangeLog
PR tree-optimization/68021
* gcc.dg/tree-ssa/pr68021.c: New test.

From-SVN: r233269
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr68021.c [new file with mode: 0644]
gcc/tree-ssa-loop-ivopts.c