gcj/91: can't byte-compile a file

Tom Tromey tromey@cygnus.com
Fri Nov 5 09:50:00 GMT 1999


>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:


More information about the Java-prs mailing list