re PR fortran/91785 (ICE in check_assumed_size_reference, at fortran/resolve.c:1601)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 2 Oct 2019 17:09:45 +0000 (17:09 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 2 Oct 2019 17:09:45 +0000 (17:09 +0000)
commit307de1007192b12dcf5b21b4444904567a543b2e
tree890329d4ee16a193b127d0f7b632d11b7adcd96e
parent939e9f696b843f2c6472ac0fd541399e2b3faa7e
re PR fortran/91785 (ICE in check_assumed_size_reference, at fortran/resolve.c:1601)

2019-10-02  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91785
* primary.c (gfc_match_varspec): Ensure an inquiry parameter has
it locus set.

2019-10-02  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91785
* gfortran.dg/pr91785.f90: New test.

From-SVN: r276473
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr91785.f90 [new file with mode: 0644]