[Bug tree-optimization/82102] [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863

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


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Dec 15 08:19:15 2017
New Revision: 255678

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

        Backport from mainline
        2017-09-05  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82102
        * tree-ssa-pre.c (eliminate): Check if lhs is NULL.

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

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

        PR middle-end/82128
        * gimple-fold.c (gimple_fold_call): Update SSA name in-place to
        default-def to avoid breaking iterator update with the weird
        interaction with cgraph_update_edges_for_call_stmt_node.

        * g++.dg/pr82128.C: New testcase.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/pr82128.C
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr82102.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/gimple-fold.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-ssa-pre.c


More information about the Gcc-bugs mailing list