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".