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 RANKconstruct as well as the parts relating to
BIND(C)functions. See also Further Interoperability of Fortran with C.
SUMreduction intrinsics, and the
CO_REDUCEintrinsic, except that those do not support polymorphic types or types with allocatable, pointer or polymorphic components.
ERROR STOPstatement is permitted in a
IMPLICIT NONEstatement with an
INQUIREstatement with the
RECL=specifier now conforms to Fortran 2018.