diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-01-24 19:50:14 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-01-24 19:50:14 +0000 |
commit | 1efaf134d4d4037fd219f518aaeccab8591b1c02 (patch) | |
tree | d4c417e291449fae88614c700025783a9ca4f2ef /gcc/optabs.c | |
parent | fbbf1bf0ebc882450591096da16ed130827d6077 (diff) | |
download | gcc-1efaf134d4d4037fd219f518aaeccab8591b1c02.zip gcc-1efaf134d4d4037fd219f518aaeccab8591b1c02.tar.gz gcc-1efaf134d4d4037fd219f518aaeccab8591b1c02.tar.bz2 |
optabs.c (gen_atomic_test_and_set): Use each argument.
gcc/
* optabs.c (gen_atomic_test_and_set): Use each argument.
From-SVN: r183494
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 0f6d763..d9a93cc 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -7311,7 +7311,8 @@ maybe_emit_compare_and_swap_exchange_loop (rtx target, rtx mem, rtx val) #ifndef HAVE_atomic_test_and_set #define HAVE_atomic_test_and_set 0 #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 static rtx |