* [committed] Unbreak non-ELF target bootstrap (PR bootstrap/89539)
@ 2019-03-01 8:12 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2019-03-01 8:12 UTC (permalink / raw)
To: gcc-patches
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 <jakub@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-03-01 8:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01 8:12 [committed] Unbreak non-ELF target bootstrap (PR bootstrap/89539) Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).