------- Comment #10 from jvdelisle at gcc dot gnu dot org 2006-09-11 01:34
-------
Another example showing this is not specific to DATA statements, but is related
to parsing the initilizer.
program FOO
character*20 Y /'Abcdef'/ garbage
end program FOO
$ gfc pr27954.f90
In file pr27954.f90:2
character*20 Y /'Abcdef'/ garbage
1
Error: Syntax error in data declaration at (1)
In file pr27954.f90:3
end program FOO
1
Internal Error at (1):
gfc_get_default_type(): Bad symbol
Its interesting that the syntax error is caught, but the following END
statement gets mangled.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-06-16 02:23:27 |2006-09-11 01:34:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27954