coarray_failed_images_1.f08: Add "-latomic" option if libatomic_available.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 26 Mar 2017 15:19:40 +0000 (15:19 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 26 Mar 2017 15:19:40 +0000 (15:19 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_failed_images_1.f08
gcc/testsuite/gfortran.dg/coarray_image_status_1.f08
gcc/testsuite/gfortran.dg/coarray_stopped_images_1.f08

index 005cbe4dec38b2878f8778eba1dd59d92ca5f8a8..94cbe783c98e7c9be4550160e8ae0a55c1dcdb83 100644 (file)
@@ -1,3 +1,10 @@
+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
index 82387ec6a0ee0ffb82703209e5b28bdbcb2eb736..e1385936296138d840006b7ec305d97a18c3a276 100644 (file)
@@ -1,5 +1,6 @@
 ! { 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
index 1062c60f7591eb93eb2eed991561f0f797741aff..f90fe46c20f3e4af95cbecc33120460d2e91d3cc 100644 (file)
@@ -1,5 +1,6 @@
 ! { 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
index 36f86ed1a512233154fc5b847479b54b603ad955..681e2a5f0aa7349bb5245445587e7366b16ef0f1 100644 (file)
@@ -1,5 +1,6 @@
 ! { 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