[Bug middle-end/55331] [4.6/4.7/4.8 Regression] ICE: SIGSEGV in substitute_and_fold with -O2 -fno-tree-fre

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 27 09:23:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55331

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> 2012-11-27 09:23:19 UTC ---
Author: rguenth
Date: Tue Nov 27 09:23:15 2012
New Revision: 193840

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193840
Log:
2012-11-27  Richard Biener  <rguenther@suse.de>

    PR middle-end/55331
    * gimple-fold.c (gimplify_and_update_call_from_tree): Replace
    stmt with a NOP instead of removing it.

    * g++.dg/opt/pr55331.C: New testcase.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/opt/pr55331.C
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/gimple-fold.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list