This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Properly fix PR32765 for crayptr2 test on darwin9
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 1 Dec 2007 18:24:06 -0500
- Subject: [PATCH] Properly fix PR32765 for crayptr2 test on darwin9
Currently on *-apple-darwin9, we are failing the libgomp.fortran/crayptr2.f90
testcase. The fix of compiling the testcase with -static-libgcc isn't actually
being done because the dg-options with it isn't below the default case.
This patch fixes this and allows *-apple-darwin9 to properly pass all of
the libgomp testsuite.
2007-12-01 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/32765
* testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin down.
Index: libgomp/testsuite/libgomp.fortran/crayptr2.f90
===================================================================
--- libgomp/testsuite/libgomp.fortran/crayptr2.f90 (revision 130558)
+++ libgomp/testsuite/libgomp.fortran/crayptr2.f90 (working copy)
@@ -1,6 +1,6 @@
! { dg-do run }
-! { dg-options "-fopenmp -fcray-pointer -static-libgcc" { target *-*-darwin* } }
! { dg-options "-fopenmp -fcray-pointer" }
+! { dg-options "-fopenmp -fcray-pointer -static-libgcc" { target *-*-darwin* } }
use omp_lib
integer :: a, b, c, d, p