aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2018-07-31 20:51:06 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-07-31 20:51:06 +0000
commit31d87dd2368e1ecc527829f0da7c99a46cd16542 (patch)
tree5238c69e8b5701860fcc601ce4af068f113640e8
parentb84e3bde926ea3a8824120108a0184fe32743bec (diff)
downloadgcc-31d87dd2368e1ecc527829f0da7c99a46cd16542.zip
gcc-31d87dd2368e1ecc527829f0da7c99a46cd16542.tar.gz
gcc-31d87dd2368e1ecc527829f0da7c99a46cd16542.tar.bz2
targhooks.c (default_have_speculation_safe_value): Add ATTRIBUTE_UNUSED.
* targhooks.c (default_have_speculation_safe_value): Add ATTRIBUTE_UNUSED. From-SVN: r263180
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/targhooks.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b553632..4d0efad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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".
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 62051a9..32b4993 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -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;