[PATCH, gfortran] Re: Cray Pointers
Jack Howarth
howarth@bromo.msbb.uc.edu
Mon Aug 15 17:56:00 GMT 2005
Asher,
The discussion of cray pointers being incompatible with modules
reminds me of an oddity that I saw testing xplor-nih when built with
gfortran on MacOS X 10.4. I found that one of the tests core dumped
on exiting...
http://gcc.gnu.org/ml/fortran/2005-08/msg00135.html
This only occurs when I build xplor-nih with -fcray-pointer and seems
to occur when using one of the xplor-nih c++ modules that calls
fortran modules recursively. This is despite the fortran only using
LOC calls and no explicit cray pointers. When I drop the -fcray-pointer
flag the segfault goes away. Is it possible that the incompatibility of
cray pointers and modules extends to the LOC call itself? Perhaps that
should be documented as well if it is the case.
Jack
More information about the Fortran
mailing list