PR libfortran/69799
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2016 23:34:49 +0000 (23:34 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2016 23:34:49 +0000 (23:34 +0000)
* gfortran.dg/coarray_allocate_5.f08: Add "-latomic" option if
libatomic_available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234240 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_allocate_5.f08

index 3eb5710..636e4ff 100644 (file)
@@ -1,3 +1,9 @@
+2016-03-15  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR libfortran/69799
+       * gfortran.dg/coarray_allocate_5.f08: Add "-latomic" option if
+       libatomic_available.
+
 2016-03-15  Marek Polacek  <polacek@redhat.com>
 
        PR c++/70209
index feb1bf3..2d87854 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fcoarray=lib -lcaf_single -fdump-tree-original" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 !
 ! Contributed by Ian Harvey  <ian_harvey@bigpond.com>
 ! Extended by Andre Vehreschild  <vehre@gcc.gnu.org>