re PR libfortran/69799 (FAIL: gfortran.dg/coarray_allocate_3.f08 at -O1 and above)
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 15 Mar 2016 23:34:49 +0000 (23:34 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 15 Mar 2016 23:34:49 +0000 (23:34 +0000)
PR libfortran/69799
* gfortran.dg/coarray_allocate_5.f08: Add "-latomic" option if
libatomic_available.

From-SVN: r234240

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

index 3eb5710fd86ad4523f32a3bd6d813d02fe47f553..636e4ff67132abc5950446c5758a74a35f7e23ea 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 feb1bf3f2df932506265168f048677061a55d321..2d8785420c9d48d5ae390074e2e900537af74abe 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>