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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:53b64337ef325c4e47ae96ea8dea86031a3a0602

commit r16-2453-g53b64337ef325c4e47ae96ea8dea86031a3a0602
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Jul 22 20:16:16 2025 +0200

    Fortran: fix passing of character length of function to procedure
[PR121203]

            PR fortran/121203

    gcc/fortran/ChangeLog:

            * trans-expr.cc (gfc_conv_procedure_call): Obtain the character
            length of an assumed character length procedure from the typespec
            of the actual argument even if there is no explicit interface.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/function_charlen_4.f90: New test.

Reply via email to