int cast bug
Fri May 30 19:39:00 GMT 2003
Using gcc3.3 on linux, I get a :
internal compiler error: Segmentation fault
when I compile a java file containing something like :
private static final int foo = 100;
private static final int bar = (int)((double) foo * 0.9);
Compiling the same file without this int-double casting works with gcj.
The java class compile with sun jdk 1.4.
Is this a bug, and if so, is it known?
More information about the Java