This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/48354] internal compiler error: in splice_child_die, at dwarf2out.c:8064


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

--- Comment #19 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-13 14:43:50 UTC ---
Author: rguenth
Date: Tue Dec 13 14:43:44 2011
New Revision: 182286

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

    PR lto/48354
    * tree.c (find_decls_types_r): Also walk DECL_ORIGINAL_TYPE.
    * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers):
    Stream DECL_ORIGINAL_TYPE.
    * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers):
    Likewise.

    lto/
    * lto.c (lto_ft_decl_non_common): When we merged DECL_ORIGINAL_TYPE
    with the type of the TYPE_DECL clear DECL_ORIGINAL_TYPE.

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

Added:
    trunk/gcc/testsuite/g++.dg/lto/pr48354-1_0.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-streamer-in.c
    trunk/gcc/tree-streamer-out.c
    trunk/gcc/tree.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]