[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug java/18741] New: [4.0 Regression] ICE tree check: expected class 'expression', have 'declaratio
From:       "ovidr at users dot sourceforge dot net" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2004-11-30 16:44:41
Message-ID: 20041130164436.18741.ovidr () users ! sourceforge ! net
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic