aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2013-08-26 11:21:51 +0200
committerUros Bizjak <uros@gcc.gnu.org>2013-08-26 11:21:51 +0200
commit8616e65ce8ddf439b2697d7d036b2bbaabb5943b (patch)
treee9ac488b0aa64ee4443b5e074caa4c3cee089083
parent8dc7066751cf3132a7b630981edd3829269f5f52 (diff)
downloadgcc-8616e65ce8ddf439b2697d7d036b2bbaabb5943b.zip
gcc-8616e65ce8ddf439b2697d7d036b2bbaabb5943b.tar.gz
gcc-8616e65ce8ddf439b2697d7d036b2bbaabb5943b.tar.bz2
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
-rw-r--r--gcc/ChangeLog1
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b1e2334..fd65e13 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 442b4f6..2e62109 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);