re PR testsuite/62250 (FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib ...
authorHans-Peter Nilsson <hp@axis.com>
Thu, 8 Jan 2015 21:57:49 +0000 (21:57 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 8 Jan 2015 21:57:49 +0000 (21:57 +0000)
commitb85449adb9120b984916eb9bc0a88a466ec0744e
tree0e3a51a28ca95cb81adce87c1991ba90f30797c8
parent303e1d56c6214940a633c2b8ea7da2d81c15bd4d
re PR testsuite/62250 (FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib  -O2  -lcaf_single)

PR testsuite/62250
* lib/target-supports.exp (check_effective_target_libatomic_available):
New.
* gfortran.dg/coarray/caf.exp: Only add -latomic for
targets that match effective-target libatomic_available.
* gfortran.dg/coarray_lib_comm_1.f90: Similar.

From-SVN: r219364
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray/caf.exp
gcc/testsuite/lib/target-supports.exp