https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121191
--- Comment #1 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:70b03019b50a0a7c6219ce89e71e616f5400c339 commit r16-4387-g70b03019b50a0a7c6219ce89e71e616f5400c339 Author: Paul Thomas <[email protected]> Date: Mon Oct 13 07:55:18 2025 +0100 Fortran: Fix ICE in deallocating PDTs [PR121191] 2025-10-13 Paul Thomas <[email protected]> gcc/fortran PR fortran/121191 * trans-array.cc (has_parameterized_comps): New function which checks if a derived type has parameterized components. ( gfc_deallocate_pdt_comp): Use it to prevent deallocation of PDTs if there are no parameterized components. gcc/testsuite/ PR fortran/121191 * gfortran.dg/pdt_59.f03: New test.
