From 743f0ba244af82c835f3377dfbf0f7061e26c41a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 1 Mar 2019 09:10:19 +0100 Subject: [PATCH] re PR bootstrap/89539 (gcc fails to build/bootstrap on MACOSX) PR bootstrap/89539 * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to early_lto_debug argument. From-SVN: r269301 --- gcc/ChangeLog | 6 ++++++ gcc/dwarf2out.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c57ead4d61..8759ee895b8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-03-01 Jakub Jelinek + + PR bootstrap/89539 + * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to + early_lto_debug argument. + 2019-02-28 Eric Botcazou PR tree-optimization/89536 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 17be26fb97d..1b17f2bc1d5 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -11234,7 +11234,8 @@ output_skeleton_debug_sections (dw_die_ref comp_unit, /* 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; -- 2.30.2