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

--- Comment #12 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:027f46816732f408aad6230516876948b3960df1

commit r17-5352-g027f46816732f408aad6230516876948b3960df1
Author: Paul Thomas <[email protected]>
Date:   Mon Oct 19 10:10:39 2026 +0100

    Fortran: [PDT] (7/16) Parameterized derived type errors [PR82173]

    2026-10-19  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/82173
            * trans-array.cc (structure_alloc_comps): While recursing into
            PDT components, it has to be checked that all the components of
            the param_list are explicit before allocating the paramterized
            components. If this not the case, use the components own param_
            list to replace the assumed expressions.

    gcc/testsuite/
            PR fortran/82173
            * gfortran.dg/pdt_bug11.f90: New test.
            * gfortran.dg/pdt_bug21.f90: New test.

Reply via email to