https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69799

--- Comment #4 from dave.anglin at bell dot net ---
On 2016-03-14, at 7:17 AM, dominiq at lps dot ens.fr wrote:

>> Needs to link against -latomic.
> 
> 
> Why? Apparently it does not need it on x86_64-apple-darwin15.

x86_64 has atomic support fully implemented in header.  Some targets like hppa
have code in libatomic which calls kernel helpers, etc.

> 
> What happens if you add '-latomic' to the dg-options list?

It passes.

Dave
--
John David Anglin       dave.ang...@bell.net

Reply via email to