public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Tamar Christina <tnfchris@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] Explicitly link with libatomic when needed. Date: Fri, 17 Jul 2020 13:18:43 +0000 (GMT) [thread overview] Message-ID: <20200717131843.C187A39CF06C@sourceware.org> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 2380 bytes --] https://gcc.gnu.org/g:bd55ce63657b42e32040d1e09b4cd76fe3705474 commit bd55ce63657b42e32040d1e09b4cd76fe3705474 Author: John David Anglin <danglin@gcc.gnu.org> Date: Sat Feb 29 17:46:12 2020 +0000 Explicitly link with libatomic when needed. 2020-02-29 John David Anglin <danglin@gcc.gnu.org> * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc: Add libatomic option. * testsuite/30_threads/jthread/jthread.cc: Likewise. Diff: --- libstdc++-v3/ChangeLog | 6 ++++++ .../30_threads/condition_variable_any/stop_token/wait_on.cc | 1 + libstdc++-v3/testsuite/30_threads/jthread/jthread.cc | 1 + 3 files changed, 8 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 34615413280..24b556a7af5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2020-02-29 John David Anglin <danglin@gcc.gnu.org> + + * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc: + Add libatomic option. + * testsuite/30_threads/jthread/jthread.cc: Likewise. + 2020-02-29 François Dumont <fdumont@gcc.gnu.org> * include/bits/stl_algo.h diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc index cb1637c306d..0efda12708f 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-options "-std=gnu++2a -pthread" } +// { dg-add-options libatomic } // { dg-do run } // { dg-require-effective-target c++2a } // { dg-require-effective-target pthread } diff --git a/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc b/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc index c34958c25d9..746ff437c1d 100644 --- a/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc +++ b/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-options "-std=gnu++2a -pthread" } +// { dg-add-options libatomic } // { dg-do run { target c++2a } } // { dg-require-effective-target pthread } // { dg-require-gthreads "" }
next reply other threads:[~2020-07-17 13:18 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-17 13:18 Tamar Christina [this message] -- strict thread matches above, loose matches on Subject: below -- 2020-07-17 13:18 Tamar Christina
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200717131843.C187A39CF06C@sourceware.org \ --to=tnfchris@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).