diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2016-11-19 18:14:21 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2016-11-19 18:14:21 +0000 |
commit | ddba26a41219bf9dfac0a7e4fcd727d3dd5f317e (patch) | |
tree | 13a81419669c15e2c2e9f9741c0013e05f92c3cc | |
parent | 636a9a890073af7540e9dc1e96ec180dcb42e50e (diff) | |
download | gcc-ddba26a41219bf9dfac0a7e4fcd727d3dd5f317e.zip gcc-ddba26a41219bf9dfac0a7e4fcd727d3dd5f317e.tar.gz gcc-ddba26a41219bf9dfac0a7e4fcd727d3dd5f317e.tar.bz2 |
coarray_alloc_comp_1.f08: Add "-latomic" option if libatomic_available.
* 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
-rw-r--r-- | gcc/testsuite/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_alloc_comp_1.f08 | 1 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_alloc_comp_2.f08 | 1 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_allocate_10.f08 | 1 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_allocate_7.f08 | 1 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_allocate_8.f08 | 1 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_allocate_9.f08 | 1 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_send_by_ref_1.f08 | 1 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_stat_2.f90 | 1 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/coindexed_1.f90 | 1 |
10 files changed, 22 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 41133d8..debb3b0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gfortran.dg/coarray_alloc_comp_1.f08 b/gcc/testsuite/gfortran.dg/coarray_alloc_comp_1.f08 index 78da297..659fd48 100644 --- a/gcc/testsuite/gfortran.dg/coarray_alloc_comp_1.f08 +++ b/gcc/testsuite/gfortran.dg/coarray_alloc_comp_1.f08 @@ -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. diff --git a/gcc/testsuite/gfortran.dg/coarray_alloc_comp_2.f08 b/gcc/testsuite/gfortran.dg/coarray_alloc_comp_2.f08 index b36ec2b..3b3ae6c 100644 --- a/gcc/testsuite/gfortran.dg/coarray_alloc_comp_2.f08 +++ b/gcc/testsuite/gfortran.dg/coarray_alloc_comp_2.f08 @@ -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. diff --git a/gcc/testsuite/gfortran.dg/coarray_allocate_10.f08 b/gcc/testsuite/gfortran.dg/coarray_allocate_10.f08 index 30ee216..89e7bb4 100644 --- a/gcc/testsuite/gfortran.dg/coarray_allocate_10.f08 +++ b/gcc/testsuite/gfortran.dg/coarray_allocate_10.f08 @@ -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 diff --git a/gcc/testsuite/gfortran.dg/coarray_allocate_7.f08 b/gcc/testsuite/gfortran.dg/coarray_allocate_7.f08 index 918f3e2..4b08941 100644 --- a/gcc/testsuite/gfortran.dg/coarray_allocate_7.f08 +++ b/gcc/testsuite/gfortran.dg/coarray_allocate_7.f08 @@ -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. diff --git a/gcc/testsuite/gfortran.dg/coarray_allocate_8.f08 b/gcc/testsuite/gfortran.dg/coarray_allocate_8.f08 index 4710049..6a85ded 100644 --- a/gcc/testsuite/gfortran.dg/coarray_allocate_8.f08 +++ b/gcc/testsuite/gfortran.dg/coarray_allocate_8.f08 @@ -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 diff --git a/gcc/testsuite/gfortran.dg/coarray_allocate_9.f08 b/gcc/testsuite/gfortran.dg/coarray_allocate_9.f08 index 880f2b3..71409e9 100644 --- a/gcc/testsuite/gfortran.dg/coarray_allocate_9.f08 +++ b/gcc/testsuite/gfortran.dg/coarray_allocate_9.f08 @@ -1,5 +1,6 @@ ! { dg-do run } ! { dg-options "-fcoarray=lib -lcaf_single" } +! { dg-additional-options "-latomic" { target libatomic_available } } ! Contributed by Damian Rouson diff --git a/gcc/testsuite/gfortran.dg/coarray_send_by_ref_1.f08 b/gcc/testsuite/gfortran.dg/coarray_send_by_ref_1.f08 index 73f91e0..75773f6 100644 --- a/gcc/testsuite/gfortran.dg/coarray_send_by_ref_1.f08 +++ b/gcc/testsuite/gfortran.dg/coarray_send_by_ref_1.f08 @@ -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 diff --git a/gcc/testsuite/gfortran.dg/coarray_stat_2.f90 b/gcc/testsuite/gfortran.dg/coarray_stat_2.f90 index 3bbd3fc..9eed860 100644 --- a/gcc/testsuite/gfortran.dg/coarray_stat_2.f90 +++ b/gcc/testsuite/gfortran.dg/coarray_stat_2.f90 @@ -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 ! diff --git a/gcc/testsuite/gfortran.dg/coindexed_1.f90 b/gcc/testsuite/gfortran.dg/coindexed_1.f90 index 932442c..b3b41de 100644 --- a/gcc/testsuite/gfortran.dg/coindexed_1.f90 +++ b/gcc/testsuite/gfortran.dg/coindexed_1.f90 @@ -1,5 +1,6 @@ ! { dg-do run } ! { dg-options "-fcoarray=lib -lcaf_single" } +! { dg-additional-options "-latomic" { target libatomic_available } } ! ! Contributed by Reinhold Bader ! |