targhooks.c (default_have_speculation_safe_value): Add ATTRIBUTE_UNUSED.
authorIan Lance Taylor <iant@golang.org>
Tue, 31 Jul 2018 20:51:06 +0000 (20:51 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 31 Jul 2018 20:51:06 +0000 (20:51 +0000)
* targhooks.c (default_have_speculation_safe_value): Add
ATTRIBUTE_UNUSED.

From-SVN: r263180

gcc/ChangeLog
gcc/targhooks.c

index b5536323af06e2ccb2b81164ae4a684c034d4c91..4d0efad289ddbf3de214cf57103cb6447c44a786 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  David Malcolm  <dmalcolm@redhat.com>
 
        * dump-context.h: Include "pretty-print.h".
index 62051a98e9843212a924f0298ff21149ce8909f8..32b4993a1b16d2e3994ca02739ab3105be0797ad 100644 (file)
@@ -2316,7 +2316,7 @@ default_preferred_else_value (unsigned, tree type, unsigned, tree *)
 
 /* 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;