[Bug middle-end/51436] [4.7 Regression] ICE(segfault) in gimplify_and_update_call_from_tree gimple-fold.c:603

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 6 12:18:00 GMT 2011


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-06 12:17:42 UTC ---
Author: rguenth
Date: Tue Dec  6 12:17:31 2011
New Revision: 182045

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182045
Log:
2011-12-06  Richard Guenther  <rguenther@suse.de>

    PR middle-end/51436
    * gimple-fold.c (gimplify_and_update_call_from_tree): Guard
    vdef check for the fact we do not have virtual operands when
    not optimizing.

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

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr51436.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list