aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2015-12-30 20:21:57 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2015-12-30 20:21:57 +0000
commitc2cb0f4b9abfb7f177ee454fdb0b6dce247626a3 (patch)
tree3cf07f1c7a4ed1e52e8ee620ec73171b706eb367 /gcc
parent0a0f74aaf1d85e70813288ff27756d81bb555f5a (diff)
downloadgcc-c2cb0f4b9abfb7f177ee454fdb0b6dce247626a3.zip
gcc-c2cb0f4b9abfb7f177ee454fdb0b6dce247626a3.tar.gz
gcc-c2cb0f4b9abfb7f177ee454fdb0b6dce247626a3.tar.bz2
coarray_40.f90: Revise to use dg-additional-options.
* gfortran.dg/coarray_40.f90: Revise to use dg-additional-options. * gfortran.dg/coarray_lib_comm_1.f90: Likewise. From-SVN: r232005
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/coarray_40.f904
-rw-r--r--gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f904
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 65ec5c5..2981de9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-30 John David Anglin <danglin@gcc.gnu.org>
+
+ * gfortran.dg/coarray_40.f90: Revise to use dg-additional-options.
+ * gfortran.dg/coarray_lib_comm_1.f90: Likewise.
+
2015-12-29 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/69011
diff --git a/gcc/testsuite/gfortran.dg/coarray_40.f90 b/gcc/testsuite/gfortran.dg/coarray_40.f90
index c9ee7d1..d40a65a 100644
--- a/gcc/testsuite/gfortran.dg/coarray_40.f90
+++ b/gcc/testsuite/gfortran.dg/coarray_40.f90
@@ -1,6 +1,6 @@
! { dg-do run }
-! { dg-options "-fcoarray=lib -lcaf_single -latomic" { target libatomic_available } }
-! { dg-options "-fcoarray=lib -lcaf_single" { target { ! libatomic_available } } }
+! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
!
! Run-time test for memory consistency
!
diff --git a/gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90 b/gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90
index bfa758e..d23c9d1 100644
--- a/gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90
+++ b/gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90
@@ -1,6 +1,6 @@
! { dg-do run }
-! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single -latomic" { target libatomic_available } }
-! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" { target { ! libatomic_available } } }
+! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
!
! Some dependency-analysis check for coarray communication
!