re PR testsuite/62250 (FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib ...
authorHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 8 Jan 2015 21:59:26 +0000 (21:59 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 8 Jan 2015 21:59:26 +0000 (21:59 +0000)
commit52a98b30b732097047a89038700c21f971e8956d
tree9de8fe1d8c5ce7c55b6d9767ae2af5a2c4d7c6db
parentb85449adb9120b984916eb9bc0a88a466ec0744e
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: r219365
gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90