]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/87673 (Errors caused by using function for character length in allocate...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 13 Mar 2019 22:15:33 +0000 (22:15 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 13 Mar 2019 22:15:33 +0000 (22:15 +0000)
commite001a79f80527cd087e8329c6f56dadb717e5ced
tree7b20847372a24f6357f910315d6ad35bdb63d827
parenta0604a3d488ff30a606dc4ddd60bed6b2b0814c9
re PR fortran/87673 (Errors caused by using function for character length in allocate with typespec)

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

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

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

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

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