[Bug lto/53780] [l4.7.1 lto] linker fails with lto and "standard" object file

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 29 10:51:00 GMT 2012


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

if you are using -g and all C++ changes.

More information about the Gcc-bugs mailing list