[Bug fortran/84008] [PDT] ICE accessing kind and len parameters

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 8 07:13:19 GMT 2025


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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pault@gcc.gnu.org>:

https://gcc.gnu.org/g:565d9a3617fcc167f190e04445a1d7952b4d9bba

commit r16-3648-g565d9a3617fcc167f190e04445a1d7952b4d9bba
Author: Paul Thomas <pault@gcc.gnu.org>
Date:   Mon Sep 8 08:13:07 2025 +0100

    Fortran: Correct variable typespec in PDT specification exprs [PR84008]

    2025-09-08  Paul Thomas  <pault@gcc.gnu.org>

    gcc/fortran
            PR fortran/84008
            * decl.cc (insert_parameter_exprs): Correct the typespec of new
            variable declarations, where the type is set to BT_PROCEDURE as
            a precaution for resolution of the whole program unit.

    gcc/testsuite/
            PR fortran/84008
            * gfortran.dg/pdt_45.f03: New test.


More information about the Gcc-bugs mailing list