diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2025-09-02 21:48:55 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2025-09-02 21:48:55 +0100 |
commit | 2d93be8907fa33f8791409490ed06e45de5c8420 (patch) | |
tree | c7c3d248998e163883dd4e6e6e4bb63a4b8dcbfa /gcc/m2/pge-boot/GStrLib.cc | |
parent | 4ce7722c02e449b5f9947a255705502d13632c90 (diff) | |
download | gcc-2d93be8907fa33f8791409490ed06e45de5c8420.zip gcc-2d93be8907fa33f8791409490ed06e45de5c8420.tar.gz gcc-2d93be8907fa33f8791409490ed06e45de5c8420.tar.bz2 |
Fortran: Handle PDTs correctly with unlimited selector [PR87669]
2025-09-02 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/87669
* expr.cc (gfc_spec_list_type): If no LEN components are seen,
unconditionally return 'SPEC_ASSUMED'. This suppresses an
invalid error in match.cc(gfc_match_type_is).
gcc/testsuite/
PR fortran/87669
* gfortran.dg/pdt_42.f03: New test.
libgfortran/
PR fortran/87669
* intrinsics/extends_type_of.c (is_extension_of): Use the vptr
rather than the hash value to identify the types.
Diffstat (limited to 'gcc/m2/pge-boot/GStrLib.cc')
0 files changed, 0 insertions, 0 deletions