aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-01-15 13:49:44 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-01-15 13:51:05 +0000
commit5ba715ed1aaf24d4f07c0d250a0a9df03aa0acb2 (patch)
treecdaab645b0afe8d14fe0dd1073073bcdb8174ef0
parentb92e553558a0d88a1a678b9f862725c8c144b259 (diff)
downloadgcc-5ba715ed1aaf24d4f07c0d250a0a9df03aa0acb2.zip
gcc-5ba715ed1aaf24d4f07c0d250a0a9df03aa0acb2.tar.gz
gcc-5ba715ed1aaf24d4f07c0d250a0a9df03aa0acb2.tar.bz2
libstdc++: Remove unconditional -pthread from test options
This shouldn't be in the common options, it's already added for the relevant targets using dg-additional-options. libstdc++-v3/ChangeLog: * testsuite/30_threads/jthread/jthread.cc: Remove -pthread from dg-options.
-rw-r--r--libstdc++-v3/testsuite/30_threads/jthread/jthread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc b/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc
index 82c01ca..849a278 100644
--- a/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc
+++ b/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc
@@ -15,7 +15,7 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-options "-std=gnu++2a -pthread" }
+// { dg-options "-std=gnu++2a" }
// { dg-do run { target c++2a } }
// { dg-add-options libatomic }
// { dg-additional-options "-pthread" { target pthread } }