Commit 31d87dd2 by Ian Lance Taylor Committed by Ian Lance Taylor

targhooks.c (default_have_speculation_safe_value): Add ATTRIBUTE_UNUSED.

	* targhooks.c (default_have_speculation_safe_value): Add
	ATTRIBUTE_UNUSED.

From-SVN: r263180
parent b84e3bde
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> 2018-07-31 David Malcolm <dmalcolm@redhat.com>
* dump-context.h: Include "pretty-print.h". * dump-context.h: Include "pretty-print.h".
......
...@@ -2316,7 +2316,7 @@ default_preferred_else_value (unsigned, tree type, unsigned, tree *) ...@@ -2316,7 +2316,7 @@ default_preferred_else_value (unsigned, tree type, unsigned, tree *)
/* Default implementation of TARGET_HAVE_SPECULATION_SAFE_VALUE. */ /* Default implementation of TARGET_HAVE_SPECULATION_SAFE_VALUE. */
bool bool
default_have_speculation_safe_value (bool active) default_have_speculation_safe_value (bool active ATTRIBUTE_UNUSED)
{ {
#ifdef HAVE_speculation_barrier #ifdef HAVE_speculation_barrier
return active ? HAVE_speculation_barrier : true; return active ? HAVE_speculation_barrier : true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment