From 8616e65ce8ddf439b2697d7d036b2bbaabb5943b Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 26 Aug 2013 11:21:51 +0200 Subject: [PATCH] i386.c (ix86_return_in_memory): Do not remove ATTRIBUTE_UNUSED on function argument. * config/i386/i386.c (ix86_return_in_memory): Do not remove ATTRIBUTE_UNUSED on function argument. From-SVN: r201990 --- gcc/ChangeLog | 1 - gcc/config/i386/i386.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1e23340b1e..fd65e13c7f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -5,7 +5,6 @@ (ix86_handle_tm_regparm_attribute): Remove ATTRIBUTE_UNUSED on used arguments. (ix86_pass_by_reference): Ditto. - (ix86_return_in_memory): Ditto. (output_set_got): Ditto. (ix86_unary_operator_ok): Ditto. (ix86_expand_builtin): Ditto. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 442b4f6fefc..2e6210997ad 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -7756,7 +7756,7 @@ return_in_memory_ms_64 (const_tree type, enum machine_mode mode) } static bool -ix86_return_in_memory (const_tree type, const_tree fntype) +ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) { #ifdef SUBTARGET_RETURN_IN_MEMORY return SUBTARGET_RETURN_IN_MEMORY (type, fntype); -- 2.30.2