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 <rguent...@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