From: Uros Bizjak Date: Mon, 26 Aug 2013 09:21:51 +0000 (+0200) Subject: i386.c (ix86_return_in_memory): Do not remove ATTRIBUTE_UNUSED on function argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8616e65ce8ddf439b2697d7d036b2bbaabb5943b;p=gcc.git 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 --- 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);