https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110012

--- Comment #4 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:bbe98c93608b83844e999a8975862024fbe0579f

commit r16-6035-gbbe98c93608b83844e999a8975862024fbe0579f
Author: Paul Thomas <[email protected]>
Date:   Thu Dec 11 16:51:53 2025 +0000

    Fortran: Fix ICE arising from PDT class components [PR110012]

    2025-12-11  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/110012
            * decl.cc (gfc_get_pdt_instance): Continue to loop through the
            type parameters components if param_list is null and the
            parameter is not KIND with a default initializer.
            * resolve.cc (resolve_fl_derived): If the data component is a
            PDT template, find the instance and build the class.

    gcc/testsuite
            PR fortran/110012
            * gfortran.dg/pdt_77.f03: New test.

Reply via email to