Commit 5fe5f75f by Ian Lance Taylor Committed by Ian Lance Taylor

re PR libbacktrace/91908 (New libbacktrace tests fail to build)

	PR libbacktrace/91908
	* pecoff.c (backtrace_initialize): Explicitly cast unchecked
	__sync_bool_compare_and_swap to void.
	* xcoff.c (backtrace_initialize): Likewise.

From-SVN: r276168
parent 0900e29c
2019-09-26 Ian Lance Taylor <iant@golang.org>
PR libbacktrace/91908
* pecoff.c (backtrace_initialize): Explicitly cast unchecked
__sync_bool_compare_and_swap to void.
* xcoff.c (backtrace_initialize): Likewise.
2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
* configure.ac: Remove references to spu.
......
......@@ -922,7 +922,8 @@ backtrace_initialize (struct backtrace_state *state,
if (found_sym)
backtrace_atomic_store_pointer (&state->syminfo_fn, coff_syminfo);
else
__sync_bool_compare_and_swap (&state->syminfo_fn, NULL, coff_nosyms);
(void) __sync_bool_compare_and_swap (&state->syminfo_fn, NULL,
coff_nosyms);
}
if (!state->threaded)
......
......@@ -1592,7 +1592,8 @@ backtrace_initialize (struct backtrace_state *state,
if (found_sym)
backtrace_atomic_store_pointer (&state->syminfo_fn, xcoff_syminfo);
else
__sync_bool_compare_and_swap (&state->syminfo_fn, NULL, xcoff_nosyms);
(void) __sync_bool_compare_and_swap (&state->syminfo_fn, NULL,
xcoff_nosyms);
}
if (!state->threaded)
......
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