re PR fortran/91864 (ICE in gfc_check_do_variable, at fortran/parse.c:4405)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 28 Sep 2019 16:26:43 +0000 (16:26 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 28 Sep 2019 16:26:43 +0000 (16:26 +0000)
commit036aa59282d3084076e78216c6ba8e5291dc29f7
treed0fa59374b514aa7638d05dd4f5dbb30cde863fe
parent406c9a1173f79dc0fb3231edb51690c1dd73f6a0
re PR fortran/91864 (ICE in gfc_check_do_variable, at fortran/parse.c:4405)

2019-09-28  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-28  Steven G. Kargl  <kargl@gcc.gnu.org>

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

From-SVN: r276253
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr91864.f90 [new file with mode: 0644]