[Bug java/18741] New: [4.0 Regression] ICE tree check: expected class 'expression', have 'declaration' (var_decl)

ovidr at users dot sourceforge dot net gcc-bugzilla@gcc.gnu.org
Tue Nov 30 16:44:00 GMT 2004


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



More information about the Java-prs mailing list