https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128877
--- 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:5e7c0ee446c9081c34f6e03230d8babbaa6b2f34 commit r17-6548-g5e7c0ee446c9081c34f6e03230d8babbaa6b2f34 Author: Paul Thomas <[email protected]> Date: Thu Nov 19 12:02:15 2026 +0000 Fortran: [PDT] Regression: Parameterized derived type errors [PR128877] 2021-11-20 Paul Thomas <[email protected]> gcc/fortran PR fortran/128877 * decl.cc (gfc_trans_deferred_vars): Defer updating type and simplification of component initalizers to the end of the loop. Only update the typespec of the initializer to that of the component if it is of unknown type or the same type. * resolve.cc (resolve_component): Do not pass real PDT template components with kind=0 through gfc_check_assign_symbol. gcc/testsuite/ PR fortran/128877 * gfortran.dg/pdt_bug27.f90: New test.
