re PR fortran/49630 ([OOP] ICE on obsolescent deferred-length type bound character...
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 21 Jun 2018 22:38:55 +0000 (22:38 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 21 Jun 2018 22:38:55 +0000 (22:38 +0000)
commit77f72c95fafee28af8a7cf46b3304b7f46e8c732
treeb990b8c83858cd7f5838d195bdfd17e23e50fc56
parentfe5309c50d6b18379d7bc51a02553fb66b8fade5
re PR fortran/49630 ([OOP] ICE on obsolescent deferred-length type bound character function)

2018-06-21  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/49630
* resolve.c (resolve_contained_fntype): Change standard ref.
from F95 to F2003: C418. Correct a spelling error in a comment.
It is an error for an abstract interface to have an assumed
character length result.
* trans-expr.c (gfc_conv_procedure_call): Likewise change the
standard reference.

2018-06-21  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/49630
* gfortran.dg/assumed_charlen_function_7.f90: New test.

From-SVN: r261868
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/assumed_charlen_function_7.f90 [new file with mode: 0644]