]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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>
Thu, 20 Apr 2023 11:27:01 +0000 (12:27 +0100)
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.

(cherry picked from commit 5ba715ed1aaf24d4f07c0d250a0a9df03aa0acb2)

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

index 82c01caf7abca80ab84eb882643f0e87acbd09d9..849a2781a69287a255d2d0fdae5c89d44084dea7 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 } }