[Bug fortran/122578] [PDT] untyped associate name , unrecognized component declaration, unresolved generic binding
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 6 07:51:39 GMT 2025
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 <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:8387f1160d28c21592d29f70282eb38104b27356
commit r16-5933-g8387f1160d28c21592d29f70282eb38104b27356
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Sat Dec 6 07:51:21 2025 +0000
Fortran: [PDT] Unresolved component and generic binding [PR122578]
2025-12-06 Paul Thomas <pault@gcc.gnu.org>
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.
More information about the Gcc-bugs
mailing list