This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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  <>

        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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]