[Committed] PR fortran/88269 -- Check for missing UNIT/NEWUNIT

Steve Kargl sgk@troutmask.apl.washington.edu
Mon Dec 10 20:05:00 GMT 2018


The attach patch has been coommitted to 7-branch, 8-branch,
and trunk after successful regression testing.

2018-12-10  Steven G. Kargl  <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  <kargl@gcc.gnu.org>

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

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr88269.diff
Type: text/x-diff
Size: 1470 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181210/bc6df7bd/attachment.bin>


More information about the Gcc-patches mailing list