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

--- 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:071942e587734672e561f50837794fbddc94559a

commit r16-5044-g071942e587734672e561f50837794fbddc94559a
Author: Paul Thomas <[email protected]>
Date:   Wed Nov 5 12:11:00 2025 +0000

    Fortran: Fix PDT constructors in associate [PR122501, PR122524]

    2025-11-05  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/122501
            PR fortran/122524
            * primary.cc (gfc_convert_to_structure_constructor): Correct
            whitespace issue.
            (gfc_match_rvalue): Remove the attempt to match specific procs
            before filling out PDT constructor. Instead, defer this until
            resolution with the condition that there not be a following
            arglist and more than one procedure in the generic interface.

    gcc/testsuite/
            PR fortran/122501
            * gfortran.dg/pdt_66.f03: New test.

            PR fortran/122524
            * gfortran.dg/pdt_67.f03: New test.

Reply via email to