[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:20:00 GMT 2012


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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> 2012-11-27 09:20:07 UTC ---
Author: rguenth
Date: Tue Nov 27 09:20:02 2012
New Revision: 193839

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193839
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:
    trunk/gcc/testsuite/g++.dg/opt/pr55331.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list