* targhooks.c (default_have_speculation_safe_value): Add 72/198472/3
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2018 20:51:06 +0000 (20:51 +0000)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 6 Feb 2019 15:56:12 +0000 (15:56 +0000)
ATTRIBUTE_UNUSED.

(backported 30929ff6997501127e0d09e4917eef3f42d33899)

Change-Id: I59da0b5a1f07516058eacb291a436e80fc2d52d5
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263180 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/targhooks.c

index 50fe0d4..d8ad496 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-31  Ian Lance Taylor  <iant@golang.org>
+
+       * targhooks.c (default_have_speculation_safe_value): Add
+       ATTRIBUTE_UNUSED.
+
 2018-07-31  Richard Earnshaw  <rearnsha@arm.com>
 
        * targhooks.h (speculation_safe_value_not_needed): New prototype.
index 58c9068..23dd41f 100644 (file)
@@ -1967,7 +1967,7 @@ default_optab_supported_p (int, machine_mode, machine_mode, optimization_type)
 
 /* Default implementation of TARGET_HAVE_SPECULATION_SAFE_VALUE.  */
 bool
-default_have_speculation_safe_value (bool active)
+default_have_speculation_safe_value (bool active ATTRIBUTE_UNUSED)
 {
 #ifdef HAVE_speculation_barrier
   return active ? HAVE_speculation_barrier : true;