aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2016-03-15 23:34:49 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2016-03-15 23:34:49 +0000
commit5c2a1bbbc2a304f9c85bacedeabffd4ce5be244b (patch)
treeb8e62d241f97d73796ad32c0a97c17e9d729b507
parent64567cfd1dbd592f00b724c67bdee86915d4c046 (diff)
downloadgcc-5c2a1bbbc2a304f9c85bacedeabffd4ce5be244b.zip
gcc-5c2a1bbbc2a304f9c85bacedeabffd4ce5be244b.tar.gz
gcc-5c2a1bbbc2a304f9c85bacedeabffd4ce5be244b.tar.bz2
re PR libfortran/69799 (FAIL: gfortran.dg/coarray_allocate_3.f08 at -O1 and above)
PR libfortran/69799 * gfortran.dg/coarray_allocate_5.f08: Add "-latomic" option if libatomic_available. From-SVN: r234240
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gfortran.dg/coarray_allocate_5.f081
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3eb5710..636e4ff 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gfortran.dg/coarray_allocate_5.f08 b/gcc/testsuite/gfortran.dg/coarray_allocate_5.f08
index feb1bf3..2d87854 100644
--- a/gcc/testsuite/gfortran.dg/coarray_allocate_5.f08
+++ b/gcc/testsuite/gfortran.dg/coarray_allocate_5.f08
@@ -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>