fortran66のブログ

fortran について書きます。

【メモ帳】gfortran-9

gfortran version 9.0.1

手抜きインストールとして個人リポジトリ利用が出来るようです。

バックドア混入コンパイラの記事を読んだばかりですが突撃です。
https://ascii.jp/elem/000/001/858/1858028/


askubuntu.com


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.


gcc.gnu.org

文法面では、大幅な進歩はないようです。

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

Introduction to Computational Economics Using Fortran

コボルのおばちゃま

よくみると、バックドア付加コンパイラ記事の双子のお姉さんの着ているシャツの絵柄は、COBOLのおばちゃまグレース・ホッパー女史です。

狙われるコンパイラ……“バックドア入りアプリ量産”のリスクと対策


https://ascii.jp/elem/000/001/858/1858028/

f:id:fortran66:20190516130432j:plain
COBOL