old-style variable initialization with g95

Paul Brook paul@codesourcery.com
Sat Aug 28 17:24:00 GMT 2004


On Saturday 28 August 2004 17:53, Hans Horn wrote:
> I'm doing my first baby-steps using g95 and am running into compilation
> problems due to old-style variable
> initializations such as
> Integer I /0/, J /1/
> Real*8 R(6) /6*0/
> Logical L /.false./
>
> This is an f77 extension that is widely supported by commercial compilers -
> including g77.
> Does anyone happen to know the gfortran option that enables these
> constructs? (I sure hope there is such an option)

An implementation has been submitted, but there as still unresolved issues.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13910

Paul



More information about the Fortran mailing list