This patch fixes failure of coarray_allocate_5.f08 on hppa. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk.
Dave -- John David Anglin dave.ang...@bell.net
2016-03-15 John David Anglin <dang...@gcc.gnu.org> PR libfortran/69799 * gfortran.dg/coarray_allocate_5.f08: Add "-latomic" option if libatomic_available. Index: gfortran.dg/coarray_allocate_5.f08 =================================================================== --- gfortran.dg/coarray_allocate_5.f08 (revision 234163) +++ gfortran.dg/coarray_allocate_5.f08 (working copy) @@ -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_har...@bigpond.com> ! Extended by Andre Vehreschild <ve...@gcc.gnu.org>