[gfortran, patch] PR29441: Error out for non-standard intrinsics in initialization expression
Toon Moene
toon@moene.indiv.nluug.nl
Sun Dec 3 14:10:00 GMT 2006
Tobias Burnus wrote:
> Toon Moene wrote:
>>> We used to only error out for code such as
>>> real, parameter :: pi = 4.*atan(1.0)
>>> if -pedantic was given, even with -std=f95.
>> Note that this restriction will be lifted in Fortran 2008.
> I might read Fortran 2003 wrongly, but I think alreay Fortran 2003
> allows this
Duh, I must have the date wrong in my head when I voted for this
(lifting the restriction); it's even in one of the examples of
"initialization expression" (on page 128 of the Fortran 2003 Standard,
as part of the 7.11 Note).
I'm getting too old for this game, apparently ...
--
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