aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2023-09-14 08:59:20 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2023-09-14 09:31:48 +0000
commit62b29347c38394ae32858f2301aa9aa65205984e (patch)
treec275e3bcf9cde9ed716c8b91831d61c3e368335f /gcc
parent53ad1bd520759580b9a5cc590a81a1a30b9e2e28 (diff)
downloadgcc-62b29347c38394ae32858f2301aa9aa65205984e.zip
gcc-62b29347c38394ae32858f2301aa9aa65205984e.tar.gz
gcc-62b29347c38394ae32858f2301aa9aa65205984e.tar.bz2
libstdc++: Add dg-require-thread-fence in several tests
Some targets like arm-eabi with newlib and default settings rely on __sync_synchronize() to ensure synchronization. Newlib does not implement it by default, to make users aware they have to take special care. This makes a few tests fail to link. This patch requires the missing thread-fence effective target in the tests that need it, making them UNSUPPORTED instead of FAIL and UNRESOLVED. 2023-09-10 Christophe Lyon <christophe.lyon@linaro.org> libstdc++-v3/ * testsuite/29_atomics/atomic/compare_exchange_padding.cc: Likewise. * testsuite/29_atomics/atomic/cons/value_init.cc: Likewise. * testsuite/29_atomics/atomic_float/value_init.cc: Likewise. * testsuite/29_atomics/atomic_integral/cons/value_init.cc: Likewise. * testsuite/29_atomics/atomic_ref/compare_exchange_padding.cc: Likewise. * testsuite/29_atomics/atomic_ref/generic.cc: Likewise. * testsuite/29_atomics/atomic_ref/integral.cc: Likewise. * testsuite/29_atomics/atomic_ref/pointer.cc: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions