[Bug fortran/49630] [OOP] ICE on obsolescent deferred-length type bound character function

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 21 22:39:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49630

--- Comment #15 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Jun 21 22:38:55 2018
New Revision: 261868

URL: https://gcc.gnu.org/viewcvs?rev=261868&root=gcc&view=rev
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/assumed_charlen_function_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list