[mpich2-commits] r8033 - mpich2/trunk/test/mpi
chan at mcs.anl.gov
chan at mcs.anl.gov
Wed Feb 23 15:21:27 CST 2011
Author: chan
Date: 2011-02-23 15:21:26 -0600 (Wed, 23 Feb 2011)
New Revision: 8033
Modified:
mpich2/trunk/test/mpi/configure.in
Log:
moved Fortran 90 freeform test before cray-pointer test because some compiler's freeform flag does not allow cray-pointer flag, this is true for "gcc version 4.0.3 (g95 0.92!) Jun 24 2009" as in req#1439.
Modified: mpich2/trunk/test/mpi/configure.in
===================================================================
--- mpich2/trunk/test/mpi/configure.in 2011-02-23 21:15:49 UTC (rev 8032)
+++ mpich2/trunk/test/mpi/configure.in 2011-02-23 21:21:26 UTC (rev 8033)
@@ -746,6 +746,11 @@
AC_LANG_POP([Fortran])
fi
+ # The Fortran90 tests rely on free-form input which needs to be tested
+ # before any test that may modify FCFLAGS, e.g. the cray-pointer test.
+ # The order of the tests is important in compiler like g95.
+ AC_FC_FREEFORM
+
# See if the compiler supports the Cray-style pointers
ALLOCMEMFC=""
PAC_PROG_FC_CRAY_POINTER([
@@ -762,9 +767,6 @@
fi
cp f77/init/checksizes.c f90/init
fi
-
- # The Fortran90 tests rely on free-form input
- AC_FC_FREEFORM
fi
#
if test "$FROM_MPICH2" = yes ; then
More information about the mpich2-commits
mailing list