Degenerate Conic

Algorithms • Modern Fortran Programming • Orbital Mechanics

May 04, 2019

GFortran 9.1

gccegg-65

Gfortran 9.1 (part of GCC) has been released. Apparently this is a significant GCC release with a "huge number of improvements" including a new D language component. Of course, the Fortran updates are a little more modest. According to the release notes, the updates are:

  • Asynchronous I/O is now fully supported [Fortran 2003].
  • The BACK argument for MINLOC and MAXLOC has been implemented [Fortran 2008].
  • The FINDLOC intrinsic function has been implemented [Fortran 2008].
  • The IS_CONTIGUOUS intrinsic function has been implemented [Fortran 2008].
  • Direct access to the real and imaginary parts of a complex variable via c%re and c%im has been implemented [Fortran 2008].
  • Type parameter inquiry via str%len and a%kind has been implemented [Fortran 2008].
  • C descriptors and the ISO_Fortran_binding.h source file have been implemented [Fortran 2018].
  • The MAX and MIN intrinsics are no longer guaranteed to return any particular value in case one of the arguments is NaN.
  • A new command-line option -fdec-include, has been added as an extension for compatibility with legacy code using some non-standard behavior from the old DEC compiler.
  • A new BUILTIN directive, has been added. The purpose of the directive is to provide an API between the GCC compiler and the GNU C Library which would define vector implementations of math routines.

In addition, the release includes a bunch of bug fixes. Gfortran has more-or-less complete support for Fortran 2003, and only a couple things missing from Fortran 2008. There is a ways to go for full Fortran 2018 support. Gfortran is maintained by a very small number of volunteers, and their hard work is greatly appreciated!

See also