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 65ec5c55da43ee2308fa2c0e7cf26040c03ff816..2981de99c58f9c23af54d6d087d4fbe6203ecc69 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 c9ee7d12c4b0bc668e30394968a41dd9b2925d83..d40a65accceb51d6d388bba26eddd580e9954f15 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 bfa758e432a1e2f30d5e61c4d5983b4bbfc4aca2..d23c9d18a7a817e381e81f44fba3096ab603f73d 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
 !