This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/18741] New: [4.0 Regression] ICE tree check: expected class 'expression', have 'declaration' (var_decl)
- From: "ovidr at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2004 16:44:41 -0000
- Subject: [Bug java/18741] New: [4.0 Regression] ICE tree check: expected class 'expression', have 'declaration' (var_decl)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
public class bla {
public static void main(String[] a) {
int x = 2;
byte [] buffer = new byte [(int)x];
}
}
gcc version 4.0.0 20041130 (experimental)
gcj -c bla.java
bla.java: In class 'bla':
bla.java: In method 'bla.main(java.lang.String[])':
bla.java:5: internal compiler error: tree check: expected class 'expression',
have 'declaration' (var_decl) in annotate_with_file_line, at tree.c:2871
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.0 Regression] ICE tree check: expected class
'expression', have 'declaration' (var_decl)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ovidr at users dot sourceforge dot net
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18741