re PR fortran/68108 (erroneous error message 'scalar integer expression expected')
commit54b96a2d6adb14e7158097f5d75c0aff6df8987f
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 27 Oct 2015 16:42:24 +0000 (27 16:42 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 27 Oct 2015 16:42:24 +0000 (27 16:42 +0000)
treea37757079981bcc615f4dcff51924fac97030ef7
parent5affe17f859a0857b9d9c7c638f1e4e3939d1172
re PR fortran/68108 (erroneous error message 'scalar integer expression expected')

2015-10-27  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68108
* decl.c (char_len_param_value): Check for REF_ARRAY.

2015-10-27  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68108
* gfortran.dg/pr67805_2.f90: New test.

From-SVN: r229446
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr67805_2.f90 [new file with mode: 0644]