[Bug tree-optimization/77937] [7 Regression] ICE: in replace_one_candidate, at gimple-ssa-strength-reduction.c:3370

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 17 14:25:00 GMT 2016


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

--- Comment #14 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Mon Oct 17 14:22:22 2016
New Revision: 241243

URL: https://gcc.gnu.org/viewcvs?rev=241243&root=gcc&view=rev
Log:
[gcc]

2016-10-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        Backport from mainline
        2016-10-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        PR tree-optimization/77937
        * gimple-ssa-strength-reduction.c (analyze_increments): Use
        POINTER_TYPE_P on the candidate type to determine whether
        candidates in this chain require pointer arithmetic.

        2016-10-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        PR tree-optimization/77937
        * gimple-ssa-strength-reduction.c (analyze_increments): Set cost
        to infinite when we have a pointer with an increment of -1.

[gcc/testsuite]

2016-10-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        Backport from mainline
        2016-10-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        PR tree-optimization/77937
        * gcc.dg/torture/pr77937-1.c: New.
        * gcc.dg/torture/pr77937-2.c: New.


Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr77937-1.c
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr77937-2.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/gimple-ssa-strength-reduction.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list