https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99709
--- 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:d21f10259f64723f8deae3bccc15128075de4851 commit r16-3481-gd21f10259f64723f8deae3bccc15128075de4851 Author: Paul Thomas <[email protected]> Date: Sun Aug 31 16:47:18 2025 +0100 Fortran: Pass PDTs to dummies with VALUE attribute [PR99709] 2025-08-31 Paul Thomas <[email protected]> gcc/fortran PR fortran/99709 * trans-array.cc (structure_alloc_comps): For the case COPY_ALLOC_COMP, do a deep copy of non-allocatable PDT arrays Suppress the use of 'duplicate_allocatable' for PDT arrays. * trans-expr.cc (conv_dummy_value): When passing to a PDT dummy with the VALUE attribute, do a deep copy to ensure that parameterized components are reallocated. gcc/testsuite/ PR fortran/99709 * gfortran.dg/pdt_41.f03: New test.
