This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 18 Feb 2018 18:57:11 +0000
- Subject: [Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
- Auto-submitted: auto-generated
- References: <bug-69331-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331
--- Comment #21 from dave.anglin at bell dot net ---
On 2018-02-18 11:12 AM, danglin at gcc dot gnu.org wrote:
> // { dg-additional-options "-latomic" { target libatomic_available } }
>
> doesn't work:
The attached hack does work but it depends on the relative placement of
the libatomic and
libstdc++ directories.