diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2022-02-16 10:21:14 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2022-02-16 10:21:14 +0000 |
commit | f31924f72a99eaa9d4d1f7e0579152d8ecc0981e (patch) | |
tree | f213c26eaf09df44f4ee83c4b3bbf35a289106d3 /gcc/fortran/dump-parse-tree.cc | |
parent | a01ba10b9fffe1b6e8947cc17f367720aeab7126 (diff) | |
download | gcc-f31924f72a99eaa9d4d1f7e0579152d8ecc0981e.zip gcc-f31924f72a99eaa9d4d1f7e0579152d8ecc0981e.tar.gz gcc-f31924f72a99eaa9d4d1f7e0579152d8ecc0981e.tar.bz2 |
aarch64: Tweak atomic-inst-cas.c options
atomic-inst-cas.c has code to skip __atomic_compare_exchange_n
calls for invalid memory orderings, but -Winvalid-memory-model
applies before the dead code is removed (which is the right
behaviour IMO). This patch therefore suppresses the warning
for this test.
gcc/testsuite/
* gcc.target/aarch64/atomic-inst-cas.c: Add
-Wno-invalid-memory-model.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.cc')
0 files changed, 0 insertions, 0 deletions