[Bug debug/51567] [4.7 Regression] ICE in splice_child_die, at dwarf2out.c:5009 with -flto -g

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 15 16:39:00 GMT 2011


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-15 16:38:16 UTC ---
Author: rguenth
Date: Thu Dec 15 16:38:08 2011
New Revision: 182377

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

    PR lto/51567
    * gimple.c (compare_type_names_p): Also compare the TREE_CODE.
    (iterative_hash_name): Also hash the TREE_CODE.
    (gimple_types_compatible_p_1): For types with a TYPE_DECL
    name and a type DECL_CONTEXT recurse to that type.
    (iterative_hash_gimple_type): Likewise.

    * g++.dg/lto/pr51567-1_0.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/lto/pr51567-1_0.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list