[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 21 09:52:00 GMT 2010



------- Comment #15 from rguenth at gcc dot gnu dot org  2010-09-21 09:52 -------
Subject: Bug 45580

Author: rguenth
Date: Tue Sep 21 09:52:00 2010
New Revision: 164474

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164474
Log:
2010-09-21  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/45580
        * tree-ssa-propagate.c (substitute_and_fold): Always replace
        regular uses.
        * gimple-fold.c (gimple_fold_obj_type_ref): For a BINFO without
        virtuals fold the call into a regular indirect one.

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

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr45580.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-propagate.c


-- 


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



More information about the Gcc-bugs mailing list