testsuite: Require thread-fence for 29_atomics/atomic_flag/cons/value_init.cc
A recent patch made __atomic_test_and_set no longer fall back to emitting non-atomic code, but instead will then emit a call to __atomic_test_and_set, thereby exposing the need to gate also this test on support for atomics, similar to r14-3980-g62b29347c38394. libstdc++-v3: * testsuite/29_atomics/atomic_flag/cons/value_init.cc: Add dg-require-thread-fence.
This commit is contained in:
parent
a5f39859d0
commit
dd0c42cd37
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do run { target c++20 } }
|
||||
// { dg-require-thread-fence "" }
|
||||
|
||||
#include <atomic>
|
||||
#include <testsuite_hooks.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue