https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87669
--- Comment #2 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:2d93be8907fa33f8791409490ed06e45de5c8420 commit r16-3528-g2d93be8907fa33f8791409490ed06e45de5c8420 Author: Paul Thomas <[email protected]> Date: Tue Sep 2 21:48:55 2025 +0100 Fortran: Handle PDTs correctly with unlimited selector [PR87669] 2025-09-02 Paul Thomas <[email protected]> gcc/fortran PR fortran/87669 * expr.cc (gfc_spec_list_type): If no LEN components are seen, unconditionally return 'SPEC_ASSUMED'. This suppresses an invalid error in match.cc(gfc_match_type_is). gcc/testsuite/ PR fortran/87669 * gfortran.dg/pdt_42.f03: New test. libgfortran/ PR fortran/87669 * intrinsics/extends_type_of.c (is_extension_of): Use the vptr rather than the hash value to identify the types.
