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

--- Comment #2 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:fe7827c25a4e0965f0600d026448c1d73ca107de

commit r16-4706-gfe7827c25a4e0965f0600d026448c1d73ca107de
Author: Paul Thomas <[email protected]>
Date:   Wed Oct 29 11:06:19 2025 +0000

    Fortran:  PDT - gfortran does not catch F2023:R916 [PR122165]

    2025-10-29  Paul Thomas  <[email protected]>

    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.

Reply via email to