coarray_alloc_comp_1.f08: Add "-latomic" option if libatomic_available.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 19 Nov 2016 18:14:21 +0000 (18:14 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 19 Nov 2016 18:14:21 +0000 (18:14 +0000)
* gfortran.dg/coarray_alloc_comp_1.f08: Add "-latomic" option if
libatomic_available.
* gfortran.dg/coarray_alloc_comp_2.f08: Likewise.
* gfortran.dg/coarray_allocate_10.f08: Likewise.
* gfortran.dg/coarray_allocate_7.f08: Likewise.
* gfortran.dg/coarray_allocate_8.f08: Likewise.
* gfortran.dg/coarray_allocate_9.f08: Likewise.
* gfortran.dg/coarray_send_by_ref_1.f08: Likewise.
* gfortran.dg/coarray_stat_2.f90: Likewise.
* gfortran.dg/coindexed_1.f90: Likewise.

From-SVN: r242624

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_alloc_comp_1.f08
gcc/testsuite/gfortran.dg/coarray_alloc_comp_2.f08
gcc/testsuite/gfortran.dg/coarray_allocate_10.f08
gcc/testsuite/gfortran.dg/coarray_allocate_7.f08
gcc/testsuite/gfortran.dg/coarray_allocate_8.f08
gcc/testsuite/gfortran.dg/coarray_allocate_9.f08
gcc/testsuite/gfortran.dg/coarray_send_by_ref_1.f08
gcc/testsuite/gfortran.dg/coarray_stat_2.f90
gcc/testsuite/gfortran.dg/coindexed_1.f90

index 41133d8228081089653ad588fa58a9c84008297b..debb3b0aa8b0921a8b2a9e6bdedbb18b2c7c123f 100644 (file)
@@ -1,3 +1,16 @@
+2016-11-19  John David Anglin  <danglin@gcc.gnu.org>
+
+       * gfortran.dg/coarray_alloc_comp_1.f08: Add "-latomic" option if
+       libatomic_available.
+       * gfortran.dg/coarray_alloc_comp_2.f08: Likewise.
+       * gfortran.dg/coarray_allocate_10.f08: Likewise.
+       * gfortran.dg/coarray_allocate_7.f08: Likewise.
+       * gfortran.dg/coarray_allocate_8.f08: Likewise.
+       * gfortran.dg/coarray_allocate_9.f08: Likewise.
+       * gfortran.dg/coarray_send_by_ref_1.f08: Likewise.
+       * gfortran.dg/coarray_stat_2.f90: Likewise.
+       * gfortran.dg/coindexed_1.f90: Likewise.
+
 2016-11-18  Jeff Law  <law@redhat.com>
 
        PR target/25111
index 78da297d8a4f400a0e3928011a21a860dd4a3887..659fd487ab279173b4fdbeeca85c9fbe31d995d3 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 
 ! Contributed by Damian Rouson
 ! Check the new _caf_get_by_ref()-routine.
index b36ec2bfeb03e05a0889441400ab9ee56919ad12..3b3ae6c641a63d1dfc81dd7c0f0a281f8ba639eb 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 
 ! Contributed by Damian Rouson
 ! Check the new _caf_send_by_ref()-routine.
index 30ee216af04ff8f7c19fd823252b6d662790c8a2..89e7bb4a9812bf2146a919d9a23de4cfc508a235 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 
 program alloc_comp
   implicit none
index 918f3e237f8281f13298ae30f4467473be35dcd7..4b08941fa79911a5f461c9eb40305bf246811458 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 } }
 
 ! Contributed by Damian Rouson
 ! Checking whether (de-)registering of coarrays works.
index 4710049636065f325b996d0ae41a2069734e600d..6a85ded0251a4881e6a4e44f3ed750d8070107ef 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 alloc_comp
   implicit none
index 880f2b387fe7d7654c1371f6b849ba36076d61c7..71409e9e6f8ecb0fcc7cdd42f368c236dbac384b 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 
 ! Contributed by Damian Rouson
 
index 73f91e03993e3c59cc5255ccf3df66dd3e888b32..75773f6465cfd5d63639553c273faf4705f05603 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 
 program check_caf_send_by_ref
 
index 3bbd3fc4bfc6aa2f5799e2bdb68590f3e4875b07..9eed860ea5731ca26fdafeb0a6885ff5b136c022 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 !
 ! Support for stat= in caf reference
 !
index 932442c4b3229438b6a40f7aa40f92705e33f958..b3b41de10dc63028c518792393899d5e61d33d61 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 !
 ! Contributed by Reinhold Bader
 !