aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Saunders <tsaunders@mozilla.com>2014-07-28 21:42:21 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2014-07-28 21:42:21 +0000
commit7c0b8ccdcef305060a31de1d9d0d441e43cf3b63 (patch)
tree0f4c98352a52034a7abcb55974d3703ba56e0bb3
parent5c31cbf009f4c388fa773a88a7ef9570380e33b8 (diff)
downloadgcc-7c0b8ccdcef305060a31de1d9d0d441e43cf3b63.zip
gcc-7c0b8ccdcef305060a31de1d9d0d441e43cf3b63.tar.gz
gcc-7c0b8ccdcef305060a31de1d9d0d441e43cf3b63.tar.bz2
i386.c (ix86_return_in_memory): replace one ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused.
2014-07-28 Trevor Saunders <tsaunders@mozilla.com> * config/i386/i386.c (ix86_return_in_memory): replace one ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused. From-SVN: r213142
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index db8643e..71660a1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-28 Trevor Saunders <tsaunders@mozilla.com>
+
+ * config/i386/i386.c (ix86_return_in_memory): replace one
+ ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused.
+
2014-07-28 Marek Polacek <polacek@redhat.com>
* doc/invoke.texi (-Wno-odr): Fix @item entry. Tweak wording.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 9de2035..1cb6297 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -8018,7 +8018,7 @@ ix86_libcall_value (enum machine_mode mode)
/* Return true iff type is returned in memory. */
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);