From: John David Anglin Date: Wed, 30 Dec 2015 20:21:57 +0000 (+0000) Subject: coarray_40.f90: Revise to use dg-additional-options. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2cb0f4b9abfb7f177ee454fdb0b6dce247626a3;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 65ec5c55da4..2981de99c58 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-30 John David Anglin + + * gfortran.dg/coarray_40.f90: Revise to use dg-additional-options. + * gfortran.dg/coarray_lib_comm_1.f90: Likewise. + 2015-12-29 Andre Vehreschild PR fortran/69011 diff --git a/gcc/testsuite/gfortran.dg/coarray_40.f90 b/gcc/testsuite/gfortran.dg/coarray_40.f90 index c9ee7d12c4b..d40a65accce 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 bfa758e432a..d23c9d18a7a 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 !