optabs.c (gen_atomic_test_and_set): Use each argument.

gcc/
	* optabs.c (gen_atomic_test_and_set): Use each argument.

From-SVN: r183494
This commit is contained in:
Richard Sandiford 2012-01-24 19:50:14 +00:00 committed by Richard Sandiford
parent fbbf1bf0eb
commit 1efaf134d4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-01-24 Richard Sandiford <rdsandiford@googlemail.com>
* optabs.c (gen_atomic_test_and_set): Use each argument.
2012-01-24 Richard Sandiford <rdsandiford@googlemail.com> 2012-01-24 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips-ps-3d.md (mips_addr_ps, reduc_splus_v2sf) * config/mips/mips-ps-3d.md (mips_addr_ps, reduc_splus_v2sf)

View File

@ -7311,7 +7311,8 @@ maybe_emit_compare_and_swap_exchange_loop (rtx target, rtx mem, rtx val)
#ifndef HAVE_atomic_test_and_set #ifndef HAVE_atomic_test_and_set
#define HAVE_atomic_test_and_set 0 #define HAVE_atomic_test_and_set 0
#define CODE_FOR_atomic_test_and_set CODE_FOR_nothing #define CODE_FOR_atomic_test_and_set CODE_FOR_nothing
#define gen_atomic_test_and_set(x,y,z) (gcc_unreachable (), NULL_RTX) #define gen_atomic_test_and_set(x,y,z) \
(gcc_unreachable (), (void) (0 && (x) && (y) && (z)), NULL_RTX)
#endif #endif
static rtx static rtx