* gfortran.dg/coarray_failed_images_1.f08: Add "-latomic" option if
libatomic_available.
* gfortran.dg/coarray_image_status_1.f08: Likewise.
* gfortran.dg/coarray_stopped_images_1.f08: Likewise.
From-SVN: r246484
+2017-03-26 John David Anglin <danglin@gcc.gnu.org>
+
+ * gfortran.dg/coarray_failed_images_1.f08: Add "-latomic" option if
+ libatomic_available.
+ * gfortran.dg/coarray_image_status_1.f08: Likewise.
+ * gfortran.dg/coarray_stopped_images_1.f08: Likewise.
+
2017-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/78881
! { dg-do run }
! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
program test_failed_images_1
implicit none
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single -fdump-tree-original" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
program test_image_status_1
use iso_fortran_env , only : STAT_STOPPED_IMAGE
! { dg-do run }
! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
program test_stopped_images_1
implicit none