Hi! The new early_lto_debug argument is right now used solely in #if defined (OBJECT_FORMAT_ELF) guarded parts of the function, so on other targets it warns about unused parameter.
Fixed thusly, committed to trunk as obvious. 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. --- gcc/dwarf2out.c.jj 2019-02-27 15:49:28.567392391 +0100 +++ gcc/dwarf2out.c 2019-03-01 09:04:15.440751912 +0100 @@ -11234,7 +11234,8 @@ output_skeleton_debug_sections (dw_die_r /* Output a comdat type unit DIE and its children. */ static void -output_comdat_type_unit (comdat_type_node *node, bool early_lto_debug) +output_comdat_type_unit (comdat_type_node *node, + bool early_lto_debug ATTRIBUTE_UNUSED) { const char *secname; char *tmp; Jakub