This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed: ATTRIBUTE_UNUSED for asm_output_bss


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.
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,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]