From: ian Date: Tue, 31 Jul 2018 20:51:06 +0000 (+0000) Subject: * targhooks.c (default_have_speculation_safe_value): Add X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30929ff6997501127e0d09e4917eef3f42d33899;p=thirdparty%2Fgcc.git * targhooks.c (default_have_speculation_safe_value): Add ATTRIBUTE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263180 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5536323af06..4d0efad289dd 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 62051a98e984..32b4993a1b16 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;