re PR fortran/77358 ([F08] deferred-length character function returns zero-length...
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 24 Aug 2016 19:33:14 +0000 (19:33 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 24 Aug 2016 19:33:14 +0000 (19:33 +0000)
commit88b8971f9cf7c07de72c8b3fe6d4e691bcef7898
tree154f472512471b0925cc1dc3f83fe8d137847510
parentc8cd4696473a9c803b9454adeee57c90565c2fad
re PR fortran/77358 ([F08] deferred-length character function returns zero-length string)

2016-08-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/77358
* resolve.c (resolve_fl_procedure): Use the correct gfc_charlen
for deferred character length module procedures.

2016-08-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/77358
* gfortran.dg/submodule_17.f08: New test.

From-SVN: r239740
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_17.f08 [new file with mode: 0644]