On Wed, May 15, 2019 at 04:24:47PM +0300, Janne Blomqvist wrote: > As of Fortran 2018 it's allowed to open the same file on multiple > units. > > fortran/ChangeLog: > > 2019-05-15 Janne Blomqvist <j...@gcc.gnu.org> > > PR fortran/90461 > * io/open.c (new_unit): Don't check if the file is already open > for F2018. > > testsuite/ChangeLog: > > 2019-05-15 Janne Blomqvist <j...@gcc.gnu.org> > > PR fortran/90461 > * gfortran.dg/open_errors_2.f90: Add -std=f2008, adjust line number. > * gfortran.dg/open_errors_3.f90: New test. > > Regtested on x86_64-pc-linux-gnu, Ok for trunk?
Yes. -- Steve