From e882a286d9ae615196afc52d72bed83549c24534 Mon Sep 17 00:00:00 2001 From: ro Date: Fri, 29 Jan 2010 16:37:00 +0000 Subject: [PATCH] * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156357 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/sparc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b3483cbc91d..30702404852 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-01-29 Rainer Orth + + * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl + unused. + 2010-01-29 Richard Guenther * tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 42fbb9e9014..f48536ffc6f 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -7989,7 +7989,7 @@ sparc_profile_hook (int labelno) #if defined (OBJECT_FORMAT_ELF) && !HAVE_GNU_AS static void sparc_elf_asm_named_section (const char *name, unsigned int flags, - tree decl) + tree decl ATTRIBUTE_UNUSED) { fprintf (asm_out_file, "\t.section\t\"%s\"", name); -- 2.11.0