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

--- 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:86353186dc2e477fa00df0edbaa389d338c2935c

commit r16-3589-g86353186dc2e477fa00df0edbaa389d338c2935c
Author: Paul Thomas <[email protected]>
Date:   Fri Sep 5 07:19:01 2025 +0100

    Fortran: Check PDT parameters are of integer type [PR83762, PR102457]

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

    gcc/fortran
            PR fortran/83762
            PR fortran/102457
            * decl.cc (gfc_get_pdt_instance): Check that variable PDT parm
            expressions are of type integer. Note that the symbol must be
            tested since the expression often appears as BT_PROCEDURE.

    gcc/testsuite/
            PR fortran/83762
            PR fortran/102457
            * gfortran.dg/pdt_44.f03: New test.
            * gfortran.dg/pr95090.f90: Give the PDT parameter a value to
            suppress the type error.

Reply via email to