]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: PDT - gfortran does not catch F2023:R916 [PR122165]
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 29 Oct 2025 11:06:19 +0000 (11:06 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 29 Oct 2025 11:06:19 +0000 (11:06 +0000)
commitfe7827c25a4e0965f0600d026448c1d73ca107de
tree64d85412d033a981c20295c0d9283474ec5c631a
parent062e2057265ed6997d7c93c9e35ca1fce5c038be
Fortran:  PDT - gfortran does not catch F2023:R916 [PR122165]

2025-10-29  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/122165
* primary.cc (gfc_match_varspec): If the previous component ref
was a type specification parameter, a type inquiry ref cannot
follow.

gcc/testsuite
PR fortran/122165
* gfortran.dg/pdt_64.f03: New test.
gcc/fortran/primary.cc
gcc/testsuite/gfortran.dg/pdt_64.f03 [new file with mode: 0644]