Fwd: TR15581

Tobias Burnus burnus@net-b.de
Fri May 16 16:16:00 GMT 2008


Francisco Martinez Fadrique wrote:
> How does gofrtran support the implementation of TR15581. In
> particular, is there a way to define in the command line that the
> standard to adhere is f95+TR15581 without having to assume fortran
> 2003 extensions?
>   
gfortran supports TR15581 since 4.2.0; however, it is implemented as 
-std=f2003 and thus there is no option which allows it without also 
allowing other Fortran 2003 features. It is currently not planned to add 
such an option as the demand for such an option is relatively low and we 
concentrate on both bug fixing and implementing Fortran 2003 features.

Tobias

PS: We of cause would accept a patch which adds such an option...

PPS: I think g95 offers such an option; as it is good practice to use 
several compilers when developing a program, you could add g95 to your 
list of compilers and do this check with it. To my knowledge no other 
compiler offers an option restrict the standard to F95+TR15581, all 
other compilers I know have only f95 or f2003.

PPPS: In a project, in which I'm involved, there was recently a 
discussion whether one should allow TR15581. The result was no as there 
were still compilers not supporting it. I think some of the Fortran 95 
features were also not possible as there were compilers which did not 
support all default initializers in TYPE declarations.



More information about the Fortran mailing list