PR20541 - allocatable components of derived types (TR15581)
Jack Howarth
howarth@bromo.msbb.uc.edu
Sun Jul 16 15:31:00 GMT 2006
Paul,
The MacOS X build of gcc trunk on the G5 produces both 32 and 64 bit
libraries. I haven't tested code with -m64 yet (oh, the issues with
FX's patch should all be resolved in the trunk now). I do have one
question. I noticed the following test code...
http://www.gfdl.noaa.gov/~ap/copy_inout.html
I can build that fine on MacOS X using the gcc from trunk and Fortran
XL and it runs okay. However when I use the currently proposed
allocatable array patch and gcc trunk, I get...
gfortran -O3 -fno-second-underscore test2.f95 print_my_address.o
test2.f95: In function 'MAIN__':
test2.f95:19: internal compiler error: in gfc_build_null_descriptor, at fortran/trans-array.c:299
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Could you take a look at compilig these sources (print_my_address.c and
test.f90). Oh, I did have to remove the ifndef/endif checks since they
didn't seem to be handled properly but generated errors...
Warning: test2.f90:15: Illegal preprocessor directive
etc.
Jack
More information about the Fortran
mailing list