re PR fortran/87673 (Errors caused by using function for character length in allocate...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 12 Mar 2019 17:22:28 +0000 (17:22 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 12 Mar 2019 17:22:28 +0000 (17:22 +0000)
commit1eabf876d50f6b9041fb36b5229a8b6634773d3e
treef4f86da42824b412d29887f53174c78d680211e5
parent6684d2dbff7b3ba4a8ef1bef3446dd9df581444f
re PR fortran/87673 (Errors caused by using function for character length in allocate with typespec)

2019-03-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/87673
* match.c (gfc_match_type_spec): Remove call to
gfc_resolve_expr for character length.

2019-03-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/87673
* gfortran.dg/charlen_17.f90: New test.

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