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 | |
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
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/optabs.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba3ea45..53d51d2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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> + * config/mips/mips-ps-3d.md (mips_addr_ps, reduc_splus_v2sf) (mips_cvt_pw_ps, mips_cvt_ps_pw, mips_mulr_ps, mips_cabs_cond_<fmt>) (mips_cabs_cond_4s, mips_cabs_cond_ps, bc1any4t, bc1any4f, bc1any2t) 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 |