public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "ovidr at users dot sourceforge dot net" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/18741] New: [4.0 Regression] ICE tree check: expected class 'expression', have 'declaration' (var_decl)
Date: Tue, 30 Nov 2004 16:44:00 -0000	[thread overview]
Message-ID: <20041130164436.18741.ovidr@users.sourceforge.net> (raw)

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


             reply	other threads:[~2004-11-30 16:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-30 16:44 ovidr at users dot sourceforge dot net [this message]
2004-11-30 16:54 ` [Bug java/18741] " pinskia at gcc dot gnu dot org
2004-11-30 16:59 ` pinskia at gcc dot gnu dot org
2004-11-30 17:02 ` pinskia at gcc dot gnu dot org
2004-11-30 23:53 ` pinskia at gcc dot gnu dot org
2004-12-01 21:09 ` tromey at gcc dot gnu dot org
2004-12-02 16:37 ` cvs-commit at gcc dot gnu dot org
2004-12-02 16:38 ` tromey at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041130164436.18741.ovidr@users.sourceforge.net \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).