Explicitly link with libatomic when needed.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 29 Feb 2020 17:32:24 +0000 (17:32 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 29 Feb 2020 17:32:24 +0000 (17:32 +0000)
commit68a1a11fad06fed89c9cc53c247fea3cc8bb7cc8
tree1a804bda76b4ab3ac402e9795a1f951a1fa936f8
parentb177b3696c7874e7ae7c58af96df35ac1c7cc5c4
Explicitly link with libatomic when needed.

2020-02-29  John David Anglin  <danglin@gcc.gnu.org>

* testsuite/30_threads/stop_token/stop_callback.cc: Add libatomic
option.
* testsuite/30_threads/stop_token/stop_callback/deadlock-mt.cc:
Likewise.
* testsuite/30_threads/stop_token/stop_callback/deadlock.cc: Likewise.
* testsuite/30_threads/stop_token/stop_callback/destroy.cc: Likewise.
* testsuite/30_threads/stop_token/stop_callback/invoke.cc: Likewise.
* testsuite/30_threads/stop_token/stop_source.cc: Likewise.
* testsuite/30_threads/stop_token/stop_source/assign.cc: Likewise.
* testsuite/30_threads/stop_token/stop_token.cc: Likewise.
* testsuite/30_threads/stop_token/stop_token/stop_possible.cc:
Likewise.
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/30_threads/stop_token/stop_callback.cc
libstdc++-v3/testsuite/30_threads/stop_token/stop_callback/deadlock-mt.cc
libstdc++-v3/testsuite/30_threads/stop_token/stop_callback/deadlock.cc
libstdc++-v3/testsuite/30_threads/stop_token/stop_callback/destroy.cc
libstdc++-v3/testsuite/30_threads/stop_token/stop_callback/invoke.cc
libstdc++-v3/testsuite/30_threads/stop_token/stop_source.cc
libstdc++-v3/testsuite/30_threads/stop_token/stop_source/assign.cc
libstdc++-v3/testsuite/30_threads/stop_token/stop_token.cc
libstdc++-v3/testsuite/30_threads/stop_token/stop_token/stop_possible.cc