fix PR32765 on darwin9 properly
Jack Howarth
howarth@bromo.msbb.uc.edu
Sat Dec 1 23:31:00 GMT 2007
Could someone check-in the patch posted at...
http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00019.html
The original fix...
2007-08-15 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/32765
* testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin.
* testsuite/libgomp.fortran/crayptr2.f90: Likwise.
..isn't completely working on Darwin9 because the darwin-specific dg-options
in the crayptr2 testcase is above the default dg-options which overrides it.
http://gcc.gnu.org/ml/gcc-testresults/2007-12/msg00035.html
We can eliminate the test failures in libgomp.fortran/crayptr2.f90 on
*-apple-darwin9 but just moving the darwin-specific dg-options down
so that it is in use...
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
Thanks in advance.
Jack
More information about the Fortran
mailing list