From 84c25fb51158da95d010b755a186b4c0a2e1a0d2 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 20 Oct 2015 22:57:56 -0600 Subject: [PATCH] [PATCH]Fix various ports failing due to unused parameter * varasm.c (handle_vtv_comdat_section): Mark 2nd parameter with ATTRIBUTE_UNUSED. From-SVN: r229109 --- gcc/ChangeLog | 5 +++++ gcc/varasm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c80d9478fd..a626aa4d794 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-21 Jeff Law + + * varasm.c (handle_vtv_comdat_section): Mark 2nd parameter with + ATTRIBUTE_UNUSED. + 2015-10-21 Richard Biener Naveen H.S diff --git a/gcc/varasm.c b/gcc/varasm.c index 2b6da59d753..9cb7ac1e763 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -7747,7 +7747,7 @@ default_asm_output_ident_directive (const char *ident_str) a single call to "switch_to_section (sect)". */ static void -handle_vtv_comdat_section (section *sect, const_tree decl) +handle_vtv_comdat_section (section *sect, const_tree decl ATTRIBUTE_UNUSED) { #if defined (OBJECT_FORMAT_ELF) targetm.asm_out.named_section (sect->named.name, -- 2.30.2