gfortran version 9.0.1
手抜きインストールとして個人リポジトリ利用が出来るようです。
バックドア混入コンパイラの記事を読んだばかりですが突撃です。
https://ascii.jp/elem/000/001/858/1858028/
sudo add-apt-repository ppa:jonathonf/gcc-9.0 sudo apt-get install gfortran-9
$ gfortran-9 --version GNU Fortran (Ubuntu 9-20190428-1ubuntu1~18.04.york0) 9.0.1 20190428 (prerelease) [gcc-9-branch revision 270630] Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
文法面では、大幅な進歩はないようです。
gfortran 9 (current development version)
GCC 9 releases, GCC 9 release notes, documentation
Fortran 2003
Asynchronous I/O is now fully supported; a program needs to be linked against the pthreads library in order to use it.
Fortran 2008
The BACK argument for MINLOC and MAXLOC has been implemented.
FINDLOC has been implemented.
IS_CONTIGUOUS has been implemented.
Direct access to the real and imaginary parts of a complex variable via c%re and c%im has been implemented.
Type parameter inquiry via str%len and a%kind has been implemented.
Fortran 2018
C descriptors, the ISO_Fortran_binding.h file and associated procedures have been implemented.
The MAX and MIN intrinsics are no longer guaranteed to return any particular value in case one of the arguments is a NaN. Note that this conforms to the Fortran standard and to what other Fortran compilers do. If there is a need to handle that case in some specific way, one needs to explicitly check for NaN's before calling MAX or MIN, e.g. by using the IEEE_IS_NAN function from the intrinsic module IEEE_ARITHMETIC.
Introduction to Computational Economics Using Fortran
- 作者: Hans Fehr,Fabian Kindermann
- 出版社/メーカー: Oxford Univ Pr
- 発売日: 2018/05/01
- メディア: ペーパーバック
- この商品を含むブログを見る