http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53780
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-29 10:50:48 UTC --- Candidates are +2012-06-19 Jason Merrill <ja...@redhat.com> + + PR c++/52637 + * dwarf2out.c (modified_type_die): Use scope_die_for. + (gen_type_die_with_usage, dwarf2out_finish): Likewise. + (uses_local_type_r, uses_local_type): New. + (scope_die_for): Keep a type that uses a local type in local scope. + Use get_context_die for namespace and type scope. +2012-06-19 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. if you are using -g and all C++ changes.