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

--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>:

https://gcc.gnu.org/g:351fc7565610574f7677972b0d9c4559eaff32f0

commit r13-9223-g351fc7565610574f7677972b0d9c4559eaff32f0
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Wed Nov 13 08:57:55 2024 +0000

    Fortran: Fix failing character pointer fcn assignment [PR105054]

    2024-11-14  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran
            PR fortran/105054
            * resolve.cc (get_temp_from_expr): If the pointer function has
            a deferred character length, generate a new deferred charlen
            for the temporary.

    gcc/testsuite/
            PR fortran/105054
            * gfortran.dg/ptr_func_assign_6.f08: New test.

    (cherry picked from commit f530a8c61383b174a476b64f46d56adeedf49dc4)

Reply via email to