https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91714
Bug ID: 91714
Summary: Accepts type statement without delimiter in free form
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
With a missing blank in "typea" in a free form source,
down to at least version 5 :
$ cat z1.f90
program p
typea
integer b
end type
type(a) :: c
c = a(1)
print *, c
end
$ gfortran-10-20190908 z1.f90 && ./a.out
1
$