diff options
author | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2015-01-08 21:59:26 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2015-01-08 21:59:26 +0000 |
commit | 52a98b30b732097047a89038700c21f971e8956d (patch) | |
tree | 9de8fe1d8c5ce7c55b6d9767ae2af5a2c4d7c6db /gcc | |
parent | b85449adb9120b984916eb9bc0a88a466ec0744e (diff) | |
download | gcc-52a98b30b732097047a89038700c21f971e8956d.zip gcc-52a98b30b732097047a89038700c21f971e8956d.tar.gz gcc-52a98b30b732097047a89038700c21f971e8956d.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90 b/gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90 index 10346d4..e57b328 100644 --- a/gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90 +++ b/gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90 @@ -1,5 +1,6 @@ ! { dg-do run } -! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single -latomic" } +! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single -latomic" { target libatomic_available } } +! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" { target { ! libatomic_available } } } ! ! Some dependency-analysis check for coarray communication ! |