]> gcc.gnu.org Git - gcc.git/commit
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>
Tue, 11 May 2021 19:50:07 +0000 (20:50 +0100)
commit3cb0751e19388721a49c4cd6a56d1be77630d281
treefaa9b67e19f8ec7c4f058b493fc996ac1315feee
parenta49e815a6283f12dce00418b18b2ecb72a185a91
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.

(cherry picked from commit 9cd88c022fcad783997cd4111b2e6c3700c4b15b)
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
This page took 0.064423 seconds and 5 git commands to generate.