https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Fri Mar 1 12:38:38 2019 New Revision: 269305 URL: https://gcc.gnu.org/viewcvs?rev=269305&root=gcc&view=rev Log: 2019-03-01 Richard Biener <rguent...@suse.de> Backport from mainline 2019-03-01 Jakub Jelinek <ja...@redhat.com> PR bootstrap/89539 * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to early_lto_debug argument. 2019-02-27 Richard Biener <rguent...@suse.de> PR debug/88878 * dwarf2out.c (use_debug_types): Disable when in_lto_p. 2019-02-27 Richard Biener <rguent...@suse.de> PR debug/88878 * dwarf2out.c (output_comdat_type_unit): Add early_lto_debug parameter, prefix section name with .gnu.debuglto_ if true. (dwarf2out_finish): Pass false to output_comdat_type_unit. (dwarf2out_early_finish): Pass true to output_comdat_type_unit. 2019-02-27 Richard Biener <rguent...@suse.de> PR debug/89514 * dwarf2out.c (size_of_die): Key on AT_ref (a)->comdat_type_p rather than on use_debug_types, doing what output_die does. (value_format): Likewise. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/dwarf2out.c