[Bug c/82765] [6/7 Regression] ICE at -Os on valid code on x86_64-linux-gnu: in tree_to_shwi, at tree.c:6611

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 15 08:12:00 GMT 2017


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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Dec 15 08:12:10 2017
New Revision: 255677

URL: https://gcc.gnu.org/viewcvs?rev=255677&root=gcc&view=rev
Log:
2017-12-15  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2017-11-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82402
        * tree-vect-loop-manip.c (create_lcssa_for_virtual_phi): Properly
        set SSA_NAME_OCCURS_IN_ABNORMAL_PHI.

        * gcc.dg/torture/pr82402.c: New testcase.

        2017-10-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82697
        * tree-ssa-phiopt.c (cond_store_replacement): Use alias-set
        zero for conditional load and unconditional store.

        * gcc.dg/torture/pr82697.c: New testcase.

        2017-11-02  Richard Biener  <rguenther@suse.de>

        PR middle-end/82765
        * varasm.c (decode_addr_const): Make offset HOST_WIDE_INT.
        Truncate ARRAY_REF index and element size.

        * gcc.dg/pr82765.c: New testcase.

        2017-11-09  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82902
        * tree-ssa-phiprop.c (propagate_with_phi): Test proper type.

        * g++.dg/torture/pr82902.C: New testcase.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/torture/pr82902.C
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr82765.c
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr82402.c
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr82697.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-ssa-phiopt.c
    branches/gcc-7-branch/gcc/tree-ssa-phiprop.c
    branches/gcc-7-branch/gcc/tree-vect-loop-manip.c
    branches/gcc-7-branch/gcc/varasm.c


More information about the Gcc-bugs mailing list