re PR fortran/85138 (ICE with generic function)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 9 Jun 2018 15:47:40 +0000 (15:47 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 9 Jun 2018 15:47:40 +0000 (15:47 +0000)
commit3cf89a7b992d483e80b3b5960f6f4012fae95045
tree262502906e56d2b58266b9acc37a80aef7d64e8f
parent4ea0af1da0cfa9c55e739808d4b405b982985ad5
re PR fortran/85138 (ICE with generic function)

2018-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85138
PR fortran/85996
PR fortran/86051
* decl.c (gfc_match_char_spec): Use private namespace in attempt to
reduce a charlen to a constant.

2018-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85138
PR fortran/85996
PR fortran/86051
* gfortran.dg/pr85138_1.f90: New test.
* gfortran.dg/pr85138_2.f90: Ditto.
* gfortran.dg/pr85996.f90: Ditto.

From-SVN: r261362
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr85138_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr85138_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr85996.f90 [new file with mode: 0644]