[Bug tree-optimization/80345] [5 Regression] ICE in rewrite_use_nonlinear_expr with -O2

amker at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 11 08:16:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80345

--- Comment #13 from amker at gcc dot gnu.org ---
Author: amker
Date: Tue Apr 11 08:15:51 2017
New Revision: 246833

URL: https://gcc.gnu.org/viewcvs?rev=246833&root=gcc&view=rev
Log:
        Backport from mainline
        2016-02-10  Bin Cheng  <bin.cheng@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
        PR tree-optimization/80345
        * gcc.c-torture/compile/pr80345.c

        Backport from mainline
        2016-02-10  Bin Cheng  <bin.cheng@arm.com>

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

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/compile/pr80345.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/tree-ssa/pr68021.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-loop-ivopts.c


More information about the Gcc-bugs mailing list