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 <[email protected]>: https://gcc.gnu.org/g:a30b5f23b58b236207e59635cf7e9504c603f376 commit r16-6320-ga30b5f23b58b236207e59635cf7e9504c603f376 Author: Jerry DeLisle <[email protected]> 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 <[email protected]>
