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

            Bug ID: 121182
           Summary: F2018 GENERIC statement is missing
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pault at gcc dot gnu.org
  Target Milestone: ---

15.4.3.3 GENERIC statement

A GENERIC statement specifies a generic identifier for one or more specific
procedures, in the same way as a generic interface block that does not contain
interface bodies.

R1510 generic-stmt is:
GENERIC [ , access-spec ] :: generic-spec => specific-procedure-list

C1510 (R1510) A specific-procedure in a GENERIC statement shall not specify a
procedure that was specified previously in any accessible interface with the
same generic identifier.

If access-spec appears, it specifies the accessibility (8.5.2) of generic-spec.

I have the parsing sorted using the typebound generic matching. The rest should
be straight forward (famous last words :-) )

Paul

Reply via email to