Next: Fortran 2008 status, Up: Fortran 2003 and 2008 status
GNU Fortran supports several Fortran 2003 features; an incomplete list can be found below. See also the wiki page about Fortran 2003.
command_argument_count
, get_command
,
get_command_argument
, get_environment_variable
, and
move_alloc
.
[...]
rather
than (/.../)
. Type-specification for array constructors like
(/ some-type :: ... /)
.
FLUSH
statement.
IOMSG=
specifier for I/O statements.
ENUM
and ENUMERATOR
statements. Interoperability with
gcc is guaranteed also for the case where the
-fshort-enums command line option is given.
ERRMSG=
tag is now supported in ALLOCATE
and
DEALLOCATE
statements. The SOURCE=
tag is supported
in an ALLOCATE
statement. An intrinsic-type-spec
can be used as the type-spec in an ALLOCATE
statement;
while the use of a derived-type-name is currently unsupported.
OPEN
statement supports the ACCESS='STREAM'
specifier,
allowing I/O without any record structure.
PROTECTED
statement and attribute.
VALUE
statement and attribute.
VOLATILE
statement and attribute.
IMPORT
statement, allowing to import
host-associated derived types.
USE
statement with INTRINSIC
and NON_INTRINSIC
attribute; supported intrinsic modules: ISO_FORTRAN_ENV
,
OMP_LIB
and OMP_LIB_KINDS
.
USE
statement.
INT
, REAL
, DBLE
and CMPLX
.
PROCEDURE
or GENERIC
, and operators
bound to a derived-type.
EXTENDS(...)
syntax).
ABSTRACT
derived-types and declaring procedure bindings DEFERRED
.