libstdc++: Remove unconditional -pthread from test options
authorJonathan Wakely <jwakely@redhat.com>
Sun, 15 Jan 2023 13:49:44 +0000 (13:49 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sun, 15 Jan 2023 13:51:05 +0000 (13:51 +0000)
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.

libstdc++-v3/testsuite/30_threads/jthread/jthread.cc

index 82c01ca..849a278 100644 (file)
@@ -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 } }