coarray_40.f90: Revise to use dg-additional-options.
authorJohn David Anglin <danglin@gcc.gnu.org>
Wed, 30 Dec 2015 20:21:57 +0000 (20:21 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 30 Dec 2015 20:21:57 +0000 (20:21 +0000)
* gfortran.dg/coarray_40.f90: Revise to use dg-additional-options.
* gfortran.dg/coarray_lib_comm_1.f90: Likewise.

From-SVN: r232005

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_40.f90
gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90

index 65ec5c5..2981de9 100644 (file)
@@ -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
index c9ee7d1..d40a65a 100644 (file)
@@ -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
 !
index bfa758e..d23c9d1 100644 (file)
@@ -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
 !