[PATCH]Fix various ports failing due to unused parameter
authorJeff Law <law@redhat.com>
Wed, 21 Oct 2015 04:57:56 +0000 (22:57 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 21 Oct 2015 04:57:56 +0000 (22:57 -0600)
* varasm.c (handle_vtv_comdat_section): Mark 2nd parameter with
ATTRIBUTE_UNUSED.

From-SVN: r229109

gcc/ChangeLog
gcc/varasm.c

index 1c80d9478fd5fed32c44555a76b06eacd91447e1..a626aa4d794859c2095fb831eff472ccfa7ee149 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-21  Jeff Law  <law@redhat.com>
+
+       * varasm.c (handle_vtv_comdat_section): Mark 2nd parameter with
+       ATTRIBUTE_UNUSED.
+
 2015-10-21  Richard Biener  <rguenther@suse.de>
            Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
 
index 2b6da59d753310dbc826c53de075468c2084a2e2..9cb7ac1e76331d83e248cfcf90428a370c9b5973 100644 (file)
@@ -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,