[Bug tree-optimization/17587] [4.0 regression] Mauve's UnicodeBase.java fails to compile
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 21 19:54:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-21 19:54 -------
Here it is a little further without the depency on another class file:
import java.io.*;
public abstract class UnicodeBase
{
public char[] chars = new char[0x10000];
public String stringChar(int ch)
{
return "";
}
public void performTests()
{
for (int x = 0; x <= 0xffff; x++)
{
char i = (char) x;
char cs = (chars[i] != 0 ? chars[i] : i);
if (Character.toLowerCase(i) != cs)
stringChar(cs);
}
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17587
More information about the Gcc-bugs
mailing list