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

            Bug ID: 102917
           Summary: [PDT] KIND and LEN type parameters shall not be
                    restricted to default integer
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anlauf at gcc dot gnu.org
  Target Milestone: ---

Reported by Steve:

https://gcc.gnu.org/pipermail/fortran/2021-October/056771.html

We reject valid code.

F2003 has in section 4.5.2 on page 48:

   R435 type-param-def-stmt  is INTEGER [ kind-selector ] , ...

   Each type parameter is itself of type integer.  If its kind selector
   is omitted, the kind type parameter is default integer.

Reply via email to