[Bug libfortran/69799] FAIL: gfortran.dg/coarray_allocate_3.f08 at -O1 and above

dave.anglin at bell dot net gcc-bugzilla@gcc.gnu.org
Mon Mar 14 12:43:00 GMT 2016


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.anglin@bell.net


More information about the Gcc-bugs mailing list