From e19977d3790a900d90b30fb2bf0bab3ff8a57d9a Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Tue, 22 Dec 2009 22:16:02 +0000 Subject: [PATCH] crayptr2.f90: Remove forced static linkage for darwin... 2009-12-22 Iain Sandoe * testsuite/libgomp.fortran/crayptr2.f90: Remove forced static linkage for darwin, protect the test with require-effective-target tls_runtime. * testsuite/libgomp.fortran/pr32550.f90: Ditto. From-SVN: r155409 --- libgomp/ChangeLog | 6 ++++++ libgomp/testsuite/libgomp.fortran/crayptr2.f90 | 2 +- libgomp/testsuite/libgomp.fortran/pr32550.f90 | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 6644d9d2528..8023beddfdc 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2009-12-22 Iain Sandoe + + * testsuite/libgomp.fortran/crayptr2.f90: Remove forced static linkage + for darwin, protect the test with require-effective-target tls_runtime. + * testsuite/libgomp.fortran/pr32550.f90: Ditto. + 2009-12-22 Iain Sandoe PR target/41605 diff --git a/libgomp/testsuite/libgomp.fortran/crayptr2.f90 b/libgomp/testsuite/libgomp.fortran/crayptr2.f90 index d174d0366dc..4ad7cf228b6 100644 --- a/libgomp/testsuite/libgomp.fortran/crayptr2.f90 +++ b/libgomp/testsuite/libgomp.fortran/crayptr2.f90 @@ -1,6 +1,6 @@ ! { dg-do run } ! { dg-options "-fopenmp -fcray-pointer" } -! { dg-options "-fopenmp -fcray-pointer -static-libgcc" { target *-*-darwin* } } +! { dg-require-effective-target tls_runtime } use omp_lib integer :: a, b, c, d, p diff --git a/libgomp/testsuite/libgomp.fortran/pr32550.f90 b/libgomp/testsuite/libgomp.fortran/pr32550.f90 index 3a49dcf0a18..2c95cc6e05e 100644 --- a/libgomp/testsuite/libgomp.fortran/pr32550.f90 +++ b/libgomp/testsuite/libgomp.fortran/pr32550.f90 @@ -1,6 +1,6 @@ ! PR fortran/32550 ! { dg-do run } -! { dg-options "-static-libgcc" { target *-*-darwin* } } +! { dg-require-effective-target tls_runtime } integer, pointer, save :: ptr integer, target :: targ