This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compiler error in `generate_bytecode_insns'


Compiling

public abstract class BaseType{

  public static int foo() {

    byte aByte;
    int dLen=0;

    aByte=0;
    aByte&=0x7f;
    for(;aByte>0;aByte--){
	dLen<<=8;
	dLen|=(256)%256;
    }
    return dLen;
  }	  
    
}

with

gcj -C -foutput-class-dir=classes BaseType.java

I get

BaseType.java: In class `BaseType':
BaseType.java: In method `foo()':
BaseType.java:10: Internal compiler error in `generate_bytecode_insns', at java/jcf-write.c:1879
Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.

gcj is egcs-2.93.21 19990512.

Please let me know if you need further information.

Regards,
Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]