re PR fortran/91727 (ICE in conformable_arrays, at fortran/resolve.c:7490)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 15 Sep 2019 17:49:44 +0000 (17:49 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 15 Sep 2019 17:49:44 +0000 (17:49 +0000)
commite6e3aa01aa4b9e5d7e1cc69ec134d89cabdfd018
tree0554c11fee7dedd915913f70b45316ade1567bf2
parent204a3763d9bd304847ca2cd1e706c037302823d9
re PR fortran/91727 (ICE in conformable_arrays, at fortran/resolve.c:7490)

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

PR fortran/91727
* resolve.c (conformable_arrays):  If array-spec is NULL, then
allocate-object is a scalar.  a conformability check only occurs
for an array source-expr.

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

PR fortran/91727
* gfortran.dg/pr91727.f90: New test.

From-SVN: r275731
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr91727.f90 [new file with mode: 0644]