[Bug fortran/69859] New: ICE on incomplete character declaration statement
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Feb 17 19:23:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69859
Bug ID: 69859
Summary: ICE on incomplete character declaration statement
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
With an incomplete declaration :
$ cat z1.f90
program p
type t
character x y
end type
end
$ gfortran-6 z1.f90
z1.f90:3:17:
character x y
1
Error: Syntax error in data declaration at (1)
f951: internal compiler error: gfc_is_constant_expr(): Unknown expression type
---
Whereas, without embedding in type :
$ cat z2.f90
program p
character x y
end
$ gfortran-6 z2.f90
z2.f90:2:14:
character x y
1
Error: Syntax error in data declaration at (1)
# no ICE
More information about the Gcc-bugs
mailing list