This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
gcj/91: can't byte-compile a file
- To: java-gnats at sourceware dot cygnus dot com
- Subject: gcj/91: can't byte-compile a file
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 5 Nov 1999 17:42:57 -0000
- Reply-To: Tom Tromey <tromey at cygnus dot com>
- Resent-Cc: java-prs at sourceware dot cygnus dot com, green at cygnus dot com
- Resent-Reply-To: java-gnats@sourceware.cygnus.com, Tom Tromey <tromey@cygnus.com>
>Number: 91
>Category: gcj
>Synopsis: can't byte-compile a file
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 05 09:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey
>Release: current cvs (of java anyway; rest of egcs is out of date)
>Organization:
>Environment:
>Description:
I can't byte-compile this file:
creche. cat Bug.java
public class Bug {
// This demonstrates a bug in gcj
public static void main(String[] argv){
int i = 666;
System.out.println("The number "+i+" is "+ (""+i).length() +" digits wide");
}
}
creche. gcj -C Bug.java Bug.java: In class `Bug':
Bug.java: In method `main(java.lang.String[])':
Bug.java:5: internal error - tree code not implemented: error_mark
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: