Due to the lack of builtin atomics, we need to link against libatomic. Committed to trunk.
Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin <dave.ang...@bell.net> * gfortran.dg/coarray_data_1.f90: Link against libatomic if target libatomic_available. Index: gfortran.dg/coarray_data_1.f90 =================================================================== --- gfortran.dg/coarray_data_1.f90 (revision 269531) +++ gfortran.dg/coarray_data_1.f90 (working copy) @@ -1,5 +1,6 @@ ! { dg-do run } ! { dg-options "-fcoarray=lib -lcaf_single " } +! { dg-additional-options "-latomic" { target libatomic_available } } ! PR 71066 - this used to ICE program p real :: a(2,2)[*]