From: John David Anglin Date: Sat, 4 Feb 2017 01:37:12 +0000 (+0000) Subject: coarray_43.f90: Add "-latomic" option if libatomic_available. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2a86d6a7c2f2e38c16e450b961dfaa4ec449060;p=gcc.git coarray_43.f90: Add "-latomic" option if libatomic_available. * gfortran.dg/coarray_43.f90: Add "-latomic" option if libatomic_available. From-SVN: r245182 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 06d80a3bbcb..f8cd36a0338 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2017-02-03 John David Anglin + * gfortran.dg/coarray_43.f90: Add "-latomic" option if + libatomic_available. + * gcc.dg/pr77587.c: Require alias support. * gcc.dg/pr77587a.c: Likewise. diff --git a/gcc/testsuite/gfortran.dg/coarray_43.f90 b/gcc/testsuite/gfortran.dg/coarray_43.f90 index d5ee4e1a668..3078339f6a9 100644 --- a/gcc/testsuite/gfortran.dg/coarray_43.f90 +++ b/gcc/testsuite/gfortran.dg/coarray_43.f90 @@ -1,5 +1,6 @@ ! { dg-do link } ! { dg-options "-fcoarray=lib -lcaf_single" } +! { dg-additional-options "-latomic" { target libatomic_available } } program coarray_43 implicit none