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);