This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27954] ICE on garbage in DATA statement
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Oct 2006 03:54:30 -0000
- Subject: [Bug fortran/27954] ICE on garbage in DATA statement
- References: <bug-27954-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from jvdelisle at gcc dot gnu dot org 2006-10-20 03:54 -------
Another test case with similar error:
program friend
character*20 y, x 0
data y /'abcdef'/, x /'jbnhjk'/ o
print *, "basketcase"
end program friend
$ gfc pr27954.f90
In file pr27954.f90:2
character*20 y, x 0
1
Error: Syntax error in data declaration at (1)
In file pr27954.f90:3
data y /'abcdef'/, x /'jbnhjk'/ o
1
Error: Syntax error in DATA statement at (1)
In file pr27954.f90:6
end program friend
1
Internal Error at (1):
gfc_typespec(): Undefined type
This actually is error in gfc_typename () The error message has a typo in it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27954