Committed: ATTRIBUTE_UNUSED for asm_output_bss
Joern Rennecke
amylaar@spamcop.net
Thu Nov 4 19:56:00 GMT 2010
The --enable-werror-always build for h8300-elf found this static function
defined but not used.
bootstrapped on i686-pc-linux-gnu
Checked in as obvious.
-------------- next part --------------
2010-11-04 Joern Rennecke <amylaar@spamcop.net>
PR bootstrap/44756
* varasm.c (asm_output_bss): Add ATTRIBUTE_UNUSED to function.
Index: varasm.c
===================================================================
--- varasm.c (revision 166313)
+++ varasm.c (working copy)
@@ -473,7 +473,7 @@ resolve_unique_section (tree decl, int r
??? It is believed that this function will work in most cases so such
support is localized here. */
-static void
+static void ATTRIBUTE_UNUSED
asm_output_bss (FILE *file, tree decl ATTRIBUTE_UNUSED,
const char *name,
unsigned HOST_WIDE_INT size ATTRIBUTE_UNUSED,
More information about the Gcc-patches
mailing list