https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95541
--- 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:c91fc64318132f965c6c686d4142f948e58ec5d8 commit r16-4657-gc91fc64318132f965c6c686d4142f948e58ec5d8 Author: Paul Thomas <[email protected]> Date: Mon Oct 27 14:19:33 2025 +0000 Fortran: Fix ICE due to PDT selector expression in ASSOCIATE [PR95541] 2025-10-27 Paul Thomas <[email protected]> gcc/fortran PR fortran/922290 * resolve.cc (resolve_typebound_intrinsic_op): Add pdt_template to the list of preemted specifics. PR fortran/95541 * trans-stmt.cc (trans_associate_var): PDT array and string components are separately allocated for each element of a PDT array, so copy in and copy out the selector expression. gcc/testsuite/ PR fortran/95541 * gfortran.dg/pdt_61.f03: New test.
