On Mon, Apr 10, 2017 at 4:30 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > This patch fixes PR80345. It is backport of PR68021 to GCC 5 branch with one > assert statement removed. It also includes test case provided in the PR. > > Bootstrap and test on x86_64. Is it OK?
Ok. Thanks, Richard. > Thanks, > bin > 2017-04-07 Bin Cheng <bin.ch...@arm.com> > > Backport from mainline > 2016-02-10 Bin Cheng <bin.ch...@arm.com> > > 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 > 2017-04-07 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/80345 > * gcc.c-torture/compile/pr80345.c > > Backport from mainline > 2016-02-10 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/68021 > * gcc.dg/tree-ssa/pr68021.c: New test.