coarray_40.f90: Link with libatomic if available.

* gfortran.dg/coarray_40.f90: Link with libatomic if available.

From-SVN: r231981
This commit is contained in:
John David Anglin 2015-12-28 21:15:47 +00:00
parent 0d12d65909
commit 96d4e7be88
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2015-12-28 John David Anglin <danglin@gcc.gnu.org>
* gfortran.dg/coarray_40.f90: Link with libatomic if available.
* gcc.dg/pr49551.c: Skip on hppa*-*-hpux*.
* gcc.dg/torture/pr67609.c: Add -fno-common option on hppa*-*-hpux*.

View file

@ -1,5 +1,6 @@
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" }
! { dg-options "-fcoarray=lib -lcaf_single -latomic" { target libatomic_available } }
! { dg-options "-fcoarray=lib -lcaf_single" { target { ! libatomic_available } } }
!
! Run-time test for memory consistency
!