]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Correct requirements for atomic/cons/zero_padding.cc tests [PR124124].
authorTomasz Kamiński <tkaminsk@redhat.com>
Mon, 16 Feb 2026 14:07:54 +0000 (15:07 +0100)
committerTomasz Kamiński <tkaminsk@redhat.com>
Tue, 17 Feb 2026 11:36:41 +0000 (12:36 +0100)
commit060d7c2a9c1fe16d23d98a74287fdb7c73ddb784
tree4684981db58f0c15249307ac7e462b6595027f5a
parent4b71cafc8447e09ee41aff02acb5b26e8b112466
libstdc++: Correct requirements for atomic/cons/zero_padding.cc tests [PR124124].

This test uses atomic<T>::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 <jwakely@redhat.com>
Reviewed-by: Patrick Palka <ppalka@redhat.com>
Signed-off-by: Tomasz Kamiński <tkaminsk@redhat.com>
libstdc++-v3/testsuite/29_atomics/atomic/cons/zero_padding.cc