diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2025-09-05 07:19:01 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2025-09-05 07:19:01 +0100 |
commit | 86353186dc2e477fa00df0edbaa389d338c2935c (patch) | |
tree | 0dc562d7180964249d7f480c9267690ad0a107f3 /zlib | |
parent | e4755f9523e8e42b48f4a645260023e77f4d983f (diff) | |
download | gcc-86353186dc2e477fa00df0edbaa389d338c2935c.zip gcc-86353186dc2e477fa00df0edbaa389d338c2935c.tar.gz gcc-86353186dc2e477fa00df0edbaa389d338c2935c.tar.bz2 |
Fortran: Check PDT parameters are of integer type [PR83762, PR102457]
2025-09-05 Paul Thomas <pault@gcc.gnu.org>
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.
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions