Fortran: Fix PDT constructors in associate [PR122501, PR122524]
2025-11-05 Paul Thomas <pault@gcc.gnu.org>
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.