[PATCH] PR fortran/91864 -- inquiry parameter is a constant

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Sep 24 22:07:00 GMT 2019


The attached patch has been tested on x86_64-*-freebsd.  OK to commit?

2019-09-24  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/91864
	* gcc/fortran/io.c (match_io_element): An inquiry parameter cannot be
	read into.
	* gcc/fortran/match.c (gfc_match_allocate): An inquiry parameter 
	can be neither an allocate-object nor stat variable.
	(gfc_match_deallocate): An inquiry parameter cannot be deallocated.

2019-09-24  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/91864
	* gcc/testsuite/gfortran.dg/pr91864.f90

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr91864.diff
Type: text/x-diff
Size: 2785 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190924/16e79e77/attachment.bin>


More information about the Fortran mailing list