From: Ramana Radhakrishnan Date: Tue, 6 Oct 2015 17:00:12 +0000 (+0000) Subject: Remove ATTRIBUTE_UNUSED from `decl' parameter of default_elf_asm_named_section X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=184a8d6f7dcfa01a7c341af86e24abe4a9c0c8aa;p=gcc.git Remove ATTRIBUTE_UNUSED from `decl' parameter of default_elf_asm_named_section The decl parameter in default_elf_asm_named_section is actually used. Applied as obvious after an arm-none-eabi build. Ramana 2015-10-06 Ramana Radhakrishnan * varasm.c (default_elf_asm_named_section): Remove ATTRIBUTE_UNUSED from the decl parameter. From-SVN: r228537 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a906ea5bf9b..e960a5ec786 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-06 Ramana Radhakrishnan + + * varasm.c (default_elf_asm_named_section): Remove ATTRIBUTE_UNUSED + from the decl parameter. + 2015-10-06 Nathan Sidwell PR 67861 diff --git a/gcc/varasm.c b/gcc/varasm.c index 48c3662b000..f1564bc4955 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -6233,7 +6233,7 @@ default_no_named_section (const char *name ATTRIBUTE_UNUSED, void default_elf_asm_named_section (const char *name, unsigned int flags, - tree decl ATTRIBUTE_UNUSED) + tree decl) { char flagchars[10], *f = flagchars;