This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/78219] New: [F08] specifying the kind of a FORALL index in the header


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

            Bug ID: 78219
           Summary: [F08] specifying the kind of a FORALL index in the
                    header
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: janus at gcc dot gnu.org
  Target Milestone: ---

The following is supposed to be valid Fortran 2008 code, IIUC:


program forall_2008

  forall (integer(kind=4) :: i = 1:10)
  end forall

end


However, gfortran currently throws a "Syntax error in FORALL statement".

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]