[Bug fortran/122696] [PDT] ICE when selector is a generic interface with the same name as a derived type
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 12 17:36:09 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122696
--- Comment #2 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:a8b70a96c34c526a91fcb11f20cc11c020bc27e6
commit r16-8052-ga8b70a96c34c526a91fcb11f20cc11c020bc27e6
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Thu Mar 12 17:35:51 2026 +0000
Fortran: gfortran PDT component access [PR122696]
2026-03-12 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/122696
* resolve.cc (resolve_assoc_var): A generic function selector
must be resolved to a specific function before doing anything
more with the associate name.
gcc/testsuite/
PR fortran/122696
* gfortran.dg/pdt_89.f03: New test.
More information about the Gcc-bugs
mailing list