libstdc++: Remove redundant -std=gnu++17 option from concurrency tests
authorJonathan Wakely <jwakely@redhat.com>
Mon, 10 May 2021 15:22:53 +0000 (16:22 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 10 May 2021 15:22:53 +0000 (16:22 +0100)
commit9cd88c022fcad783997cd4111b2e6c3700c4b15b
treeab85855e857d4f68924ce2ceacb29969b73f40c6
parent8240175b87e331c87993876e782971eda46f9a6e
libstdc++: Remove redundant -std=gnu++17 option from concurrency tests

GCC defaults to -std=gnu++17 now anyway, and using it explicitly in the
dg-options directive prevents running these tests with different modes
such as -std=c++17 or -std=gnu++20.

libstdc++-v3/ChangeLog:

* testsuite/29_atomics/atomic/69769.cc: Remove -std=gnu++17 from
dg-options.
* testsuite/29_atomics/atomic/is_always_lock_free.cc:
* testsuite/29_atomics/atomic/requirements/typedefs.cc:
* testsuite/29_atomics/atomic_integral/is_always_lock_free.cc:
* testsuite/29_atomics/atomic_integral/requirements/typedefs.cc:
* testsuite/30_threads/lock_guard/cons/deduction.cc: Likewise.
* testsuite/30_threads/scoped_lock/cons/1.cc: Likewise.
* testsuite/30_threads/scoped_lock/cons/deduction.cc: Likewise.
* testsuite/30_threads/scoped_lock/requirements/explicit_instantiation.cc:
Likewise.
* testsuite/30_threads/scoped_lock/requirements/typedefs.cc:
Likewise.
* testsuite/30_threads/shared_lock/70766.cc: Likewise.
* testsuite/30_threads/shared_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/shared_mutex/cons/assign_neg.cc:
Likewise.
* testsuite/30_threads/shared_mutex/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
Likewise.
* testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/shared_mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/deduction.cc: Likewise.
19 files changed:
libstdc++-v3/testsuite/29_atomics/atomic/69769.cc
libstdc++-v3/testsuite/29_atomics/atomic/is_always_lock_free.cc
libstdc++-v3/testsuite/29_atomics/atomic/requirements/typedefs.cc
libstdc++-v3/testsuite/29_atomics/atomic_integral/is_always_lock_free.cc
libstdc++-v3/testsuite/29_atomics/atomic_integral/requirements/typedefs.cc
libstdc++-v3/testsuite/30_threads/lock_guard/cons/deduction.cc
libstdc++-v3/testsuite/30_threads/scoped_lock/cons/1.cc
libstdc++-v3/testsuite/30_threads/scoped_lock/cons/deduction.cc
libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/explicit_instantiation.cc
libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/typedefs.cc
libstdc++-v3/testsuite/30_threads/shared_lock/70766.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/1.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/assign_neg.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/copy_neg.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/requirements/standard_layout.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/unlock/1.cc
libstdc++-v3/testsuite/30_threads/unique_lock/cons/deduction.cc