[PATCH] testsuite: Require thread-fence for 29_atomics/atomic_flag/cons/value_init.cc

Jeff Law jeffreyalaw@gmail.com
Tue Sep 26 15:20:51 GMT 2023



On 9/26/23 08:40, Hans-Peter Nilsson wrote:
> Ok to commit?
> -- >8 --
> 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.
OK.

Jeff

ps.  Missed you at the Cauldron....



More information about the Gcc-patches mailing list