https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122089
--- 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:e4e6a42ae93a6a721de4d9d09be1fee6cea7fa09 commit r16-4194-ge4e6a42ae93a6a721de4d9d09be1fee6cea7fa09 Author: Paul Thomas <[email protected]> Date: Fri Oct 3 07:29:50 2025 +0100 Fortran: Error in nested PDTs with undefined KIND exprs. [122109] 2025-10-03 Paul Thomas <[email protected]> gcc/fortran PR fortran/122089 * decl.cc (gfc_get_pdt_instance): If gfc_extract_int is true an error has occurred because the kind expr was not provided. Use the template in this case and return MATCH_YES. gcc/testsuite/ PR fortran/122089 * gfortran.dg/pdt_52.f03: New test. * gfortran.dg/pdt_53.f03: New test. * gfortran.dg/pdt_54.f03: New test.
