[Bug fortran/121475] Missed finalization

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 21 20:26:19 GMT 2025


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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <jvdelisle@gcc.gnu.org>:

https://gcc.gnu.org/g:a30b5f23b58b236207e59635cf7e9504c603f376

commit r16-6320-ga30b5f23b58b236207e59635cf7e9504c603f376
Author: Jerry DeLisle <jvdelisle@gcc.gnu.org>
Date:   Sat Dec 20 13:16:13 2025 -0800

    fortran: [PR121475] Function result not finalized.

            PR fortran/121475

    gcc/fortran/ChangeLog:

            * trans.cc (gfc_finalize_tree_expr): Add logic to allow the
            function result to be resolved in resolve.cc
            (generate_component_assignments).

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pr121475.f90: New test as posted in the PR
            from Christopher Albert

    Signed-off-by: Andrew Benson <abensonca@gcc.gnu.org>


More information about the Gcc-bugs mailing list