Discussion:
[Committed] PR fortran/88269 -- Check for missing UNIT/NEWUNIT
Steve Kargl
2018-12-10 20:05:40 UTC
Permalink
The attach patch has been coommitted to 7-branch, 8-branch,
and trunk after successful regression testing.

2018-12-10 Steven G. Kargl <***@gcc.gnu.org>

PR fortran/88269
* io.c (io_constraint): Update macro. If locus line buffer is NULL,
use gfc_current_locus in error messages.
(check_io_constraints): Catch missing IO UNIT in write and read
statements. io_constraint macro is incompatible here.

2018-12-10 Steven G. Kargl <***@gcc.gnu.org>

PR fortran/88269
* gfortran.dg/pr88269.f90: New test.
--
Steve
Loading...