This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/53470] [4.8 Regression] ICE when linking with -g in splice_child_die, at dwarf2out.c:4264
- From: "LpSolit at netscape dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Jun 2012 07:22:13 +0000
- Subject: [Bug debug/53470] [4.8 Regression] ICE when linking with -g in splice_child_die, at dwarf2out.c:4264
- Auto-submitted: auto-generated
- References: <bug-53470-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53470
--- Comment #17 from Jason Merrill <jason at gcc dot gnu.org> 2012-06-20 07:22:13 UTC ---
Author: jason
Date: Wed Jun 20 07:22:07 2012
New Revision: 188811
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188811
Log:
2012-06-11 Richard Guenther <rguenther@suse.de>
PR middle-end/53470
* tree.c (free_lang_data_in_type): Do not clear TYPE_CONTEXT but
replace it with the first non-BLOCK context.
* g++.dg/lto/pr53470_0.C: New testcase.
* gcc.dg/lto/pr53470_0.c: Likewise.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/lto/pr53470_0.C
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/lto/pr53470_0.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree.c