fortran structure support in gcc4 (on redhat linux 4)
Toon Moene
toon@moene.indiv.nluug.nl
Thu Oct 19 21:40:00 GMT 2006
Tobias Burnus wrote:
>> enddo
>> do i = 1, 10
>> write(*,*) r(i).x
>>
> write(*,*) r(i)%x
Just to clarify this particular one: We have debated the '.' syntax for
years on the Fortran Standardization committee. The long and short of
it is that it will introduce ambiguities while parsing that are
impossible to "repair", i.e., the compiler is forced to simply abandon
parsing if it "guesses wrong".
--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
A maintainer of GNU Fortran: http://gcc.gnu.org/fortran/
Who's working on GNU Fortran:
http://gcc.gnu.org/ml/gcc/2006-01/msg00000.html
More information about the Fortran
mailing list