https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88205
--- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Dec 10 01:25:47 2018 New Revision: 266941 URL: https://gcc.gnu.org/viewcvs?rev=266941&root=gcc&view=rev Log: 2018-12-09 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/88205 * io.c (gfc_match_open): Move NEWUNIT checks to after STATUS checks. 2018-12-09 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/88205 * gfortran.dg/pr88205.f90: New unit. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88205.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/io.c branches/gcc-7-branch/gcc/testsuite/ChangeLog