re PR fortran/81027 (Assumed-shape array reported as deferred.)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 27 Dec 2018 21:13:53 +0000 (21:13 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 27 Dec 2018 21:13:53 +0000 (21:13 +0000)
commit03b2d3defa7ef8c258d48f4bfbd66a08c27ea19c
treef4343792f2968948467d764eca2a4b1ccbd2369d
parentb3c64ed0b0589623146d28ebb41aa68b56cfeeca
re PR fortran/81027 (Assumed-shape array reported as deferred.)

2018-12-27  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/81027
* expr.c (gfc_check_init_expr): Distinguish assumed-shape versus
deferred-shape dummy arguments in an error message.

2018-12-27  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/81027
* gfortran.dg/pr81027.f90: New test.
* gfortran.dg/initialization_7.f90: Update error message.

From-SVN: r267437
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/initialization_7.f90
gcc/testsuite/gfortran.dg/pr81027.f90 [new file with mode: 0644]