For convenience this section collects a list (probably incomplete) of the Fortran 90 features supported by the GNU Fortran language, even if they are documented elsewhere. See Characters, Lines, and Execution Sequence, for information on additional fixed source form lexical issues. Further, the free source form is supported through the -ffree-form option. Other Fortran 90 features can be turned on by the -ff90 option; see Fortran 90. For information on the Fortran 90 intrinsics available, see Table of Intrinsic Functions.
"
) as well as single quotes. See Character Type.
CYCLE
and EXIT
CYCLE
and EXIT
Statements.
DOUBLE COMPLEX
DOUBLE COMPLEX
Statement.
DO WHILE
END
decorationEND DO
KIND
IMPLICIT NONE
INCLUDE
statementsNAMELIST
OPEN
specifiersSTATUS='REPLACE'
is supported.
The FILE=
specifier may be omitted in an OPEN
statement if
STATUS='SCRATCH'
is supplied.
FORMAT
edit descriptorsZ
edit descriptor is supported.
<
, <=
, ==
, /=
, >
and
>=
may be used instead of .LT.
, .LE.
, .EQ.
,
.NE.
, .GT.
and .GE.
respectively.
SELECT CASE
SELECT CASE
on CHARACTER
Type.
KIND
. See Kind Notation.
(KIND
is of limited usefulness in the absence of the
KIND
-related intrinsics, since these intrinsics permit writing
more widely portable code.) An example of supported KIND
usage
is:
INTEGER (KIND=1) :: FOO=1, BAR=2 CHARACTER (LEN=3) FOO
PARAMETER
and DIMENSION
attributes aren't supported.