GNU Fortran support of dynamic array allocation

Toon Moene toon@moene.indiv.nluug.nl
Mon Nov 3 23:50:00 GMT 2003


Don Isgitt wrote:
> 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?

See the last line in my signature.

Hope this helps,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)



More information about the Gcc-help mailing list