From 5c2a1bbbc2a304f9c85bacedeabffd4ce5be244b Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Tue, 15 Mar 2016 23:34:49 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gfortran.dg/coarray_allocate_5.f08 | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3eb5710fd86..636e4ff6713 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-03-15 John David Anglin + + PR libfortran/69799 + * gfortran.dg/coarray_allocate_5.f08: Add "-latomic" option if + libatomic_available. + 2016-03-15 Marek Polacek PR c++/70209 diff --git a/gcc/testsuite/gfortran.dg/coarray_allocate_5.f08 b/gcc/testsuite/gfortran.dg/coarray_allocate_5.f08 index feb1bf3f2df..2d8785420c9 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 ! Extended by Andre Vehreschild -- 2.30.2