From 31d87dd2368e1ecc527829f0da7c99a46cd16542 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 31 Jul 2018 20:51:06 +0000 Subject: [PATCH] targhooks.c (default_have_speculation_safe_value): Add ATTRIBUTE_UNUSED. * targhooks.c (default_have_speculation_safe_value): Add ATTRIBUTE_UNUSED. From-SVN: r263180 --- gcc/ChangeLog | 5 +++++ gcc/targhooks.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5536323af0..4d0efad289d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-07-31 Ian Lance Taylor + + * targhooks.c (default_have_speculation_safe_value): Add + ATTRIBUTE_UNUSED. + 2018-07-31 David Malcolm * dump-context.h: Include "pretty-print.h". diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 62051a98e98..32b4993a1b1 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; -- 2.30.2