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

--- 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:d2c10df0920856a3ccf62900e2c8736fb0ada736

commit r17-4393-gd2c10df0920856a3ccf62900e2c8736fb0ada736
Author: Paul Thomas <[email protected]>
Date:   Sun Sep 13 12:32:22 2026 +0100

    Fortran: Parameterized derived type component initialization [PR104776]

    2026-09-17  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/104776
            * decl.cc (gfc_get_pdt_instance): Simplify the initializers of
            KIND components in PDT templates since they must be integer
            constants. Catch any remaining component initializers for
            parameter substitution, if necessary, and simplification.

    gcc/testsuite
            PR fortran/104776
            * gfortran.dg/pdt_94.f03: New test.

Reply via email to