From: Tomasz Kamiński Date: Mon, 16 Feb 2026 14:07:54 +0000 (+0100) Subject: libstdc++: Correct requirements for atomic/cons/zero_padding.cc tests [PR124124]. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=060d7c2a9c1fe16d23d98a74287fdb7c73ddb784;p=thirdparty%2Fgcc.git libstdc++: Correct requirements for atomic/cons/zero_padding.cc tests [PR124124]. This test uses atomic::compare_exchange_strong and thus may require libatomic and atomic-cmpxchg-word. The requirement on thread-fence and non_pch were superfulous. PR libstdc++/124124 libstdc++-v3/ChangeLog: * testsuite/29_atomics/atomic/cons/zero_padding.cc: Adjust dg-require. Reviewed-by: Jonathan Wakely Reviewed-by: Patrick Palka Signed-off-by: Tomasz Kamiński --- diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc b/libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc index ad48d66de3a..3c8a4a8f428 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc @@ -1,6 +1,6 @@ // { dg-do run { target c++11 } } -// { dg-require-thread-fence "" } -// { dg-add-options no_pch } +// { dg-require-atomic-cmpxchg-word "" } +// { dg-add-options libatomic } #include #include