i386.c (ix86_return_in_memory): Do not remove ATTRIBUTE_UNUSED on function argument.
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 26 Aug 2013 09:21:51 +0000 (11:21 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 26 Aug 2013 09:21:51 +0000 (11:21 +0200)
* config/i386/i386.c (ix86_return_in_memory): Do not
remove ATTRIBUTE_UNUSED on function argument.

From-SVN: r201990

gcc/ChangeLog
gcc/config/i386/i386.c

index b1e23340b1ed5b0e65e4a5ed13034523add76d70..fd65e13c7f8b68fcd4f12f612dfbaaa48815b154 100644 (file)
@@ -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.
index 442b4f6fefcf7522e6b8fb6c988c9df238dfcea8..2e6210997ad226d28274319ababd6a0b96030d3d 100644 (file)
@@ -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);