Fortran 2018 (ISO/IEC 1539:2018) is the most recent version of the Fortran language standard. GNU Fortran implements some of the new features of this standard:
SELECT RANK
construct as well as the parts relating to
BIND(C)
functions.
See also Further Interoperability of Fortran with C.
CO_MIN
and CO_MAX
and SUM
reduction intrinsics,
and the CO_BROADCAST
and CO_REDUCE
intrinsic, except that those
do not support polymorphic types or types with allocatable, pointer or
polymorphic components.
EVENT POST
, EVENT WAIT
, EVENT_QUERY
).
FAIL IMAGE
, IMAGE_STATUS
,
FAILED_IMAGES
, STOPPED_IMAGES
).
ERROR STOP
statement is permitted in a PURE
procedure.
IMPLICIT NONE
statement with an
implicit-none-spec-list
.
INQUIRE
statement with the RECL=
specifier now conforms to Fortran 2018.