diff mbox series

[committed] libstdc++: Remove unconditional -pthread from test options

Message ID 20230115135122.1345194-1-jwakely@redhat.com
State New
Headers show
Series [committed] libstdc++: Remove unconditional -pthread from test options | expand

Commit Message

Jonathan Wakely Jan. 15, 2023, 1:51 p.m. UTC
Tested x86_64-linux. Pushed to trunk.

-- >8 --

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc b/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc
index 82c01caf7ab..849a2781a69 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 } }