public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-9453] libstdc++: Remove unconditional -pthread from test options
@ 2023-04-20 13:57 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-04-20 13:57 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:df4275e7565f1de853cb3de9d5b6580a6ebd6534
commit r12-9453-gdf4275e7565f1de853cb3de9d5b6580a6ebd6534
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Sun Jan 15 13:49:44 2023 +0000
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.
(cherry picked from commit 5ba715ed1aaf24d4f07c0d250a0a9df03aa0acb2)
Diff:
---
libstdc++-v3/testsuite/30_threads/jthread/jthread.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 } }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-20 13:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 13:57 [gcc r12-9453] libstdc++: Remove unconditional -pthread from test options Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).