GNU Fortran support of dynamic array allocation

Don Isgitt djisgitt@soundenergy.com
Mon Nov 3 20:54:00 GMT 2003


Hello,

I have inherited (sorry, not money!) a Fortran application that uses 
dynamic array allocation; e.g.,

REAL*8, ALLOCATABLE :: REGO(:,:), REGE(:,:)

and subsequently,

ALLOCATE(REGO(3,NREG),REGE(3,NREG),STAT=ALLOC_ERR)

(obviously, after NREG has been defined)

I have no compiler that supports this, and want to port this application 
to Linux (from Windows). Therefore, my question:

Is this type of construct on the drawing board to be supported, or have 
I missed it, and it is already supported in some fashion or other?

Thank you very much.

Don



More information about the Gcc-help mailing list