aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2023-10-04 03:40:25 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2023-10-13 02:19:53 +0200
commit2a4d9e4f533c77870cc0eb60fbbd8047da4c7386 (patch)
tree7a9ce8a8b51f4f6a6590ba083927914201cad68e /gcc
parentf9ef2e6dcdc70d7a05641a4abec86ad25638903d (diff)
downloadgcc-2a4d9e4f533c77870cc0eb60fbbd8047da4c7386.zip
gcc-2a4d9e4f533c77870cc0eb60fbbd8047da4c7386.tar.gz
gcc-2a4d9e4f533c77870cc0eb60fbbd8047da4c7386.tar.bz2
testsuite: Add dg-require-atomic-cmpxchg-word
Some targets (armv6-m) support inline atomic load and store, i.e. dg-require-thread-fence matches, but not atomic operations like compare and exchange. This directive can be used to replace uses of dg-require-thread-fence where an atomic operation is actually used. * testsuite/lib/dg-options.exp (dg-require-atomic-cmpxchg-word): New proc. * testsuite/lib/libstdc++.exp (check_v3_target_atomic_cmpxchg_word): Ditto.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions