[PATCH] Allow opening file on multiple units
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed May 15 16:02:00 GMT 2019
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 <jb@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 <jb@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
More information about the Fortran
mailing list