https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122578
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:8387f1160d28c21592d29f70282eb38104b27356 commit r16-5933-g8387f1160d28c21592d29f70282eb38104b27356 Author: Paul Thomas <[email protected]> Date: Sat Dec 6 07:51:21 2025 +0000 Fortran: [PDT] Unresolved component and generic binding [PR122578] 2025-12-06 Paul Thomas <[email protected]> gcc/fortran PR fortran/122578 * primary.cc (gfc_match_varspec): Try to resolve a typebound generic procedure selector expression to provide the associate name with a type. Also, resolve component calls. In both cases, make a copy of the selector expression to guard against changes made by gfc_resolve_expr. gcc/testsuite PR fortran/122578 * gfortran.dg/pdt_72.f03: New test.
