This is the mail archive of the java-prs@gcc.gnu.org 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]
Other format: [Raw text]

[Bug tree-optimization/17587] [4.0 regression] Mauve's UnicodeBase.java fails to compile


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-21 19:49 -------
Confirmed reduced to:
gcj -fassume-compiled -O2 -c UnicodeBase.java
--- CharInfo.java ---
class CharInfo
{
  public String name;
  public String category;
  public int decimalDigit;
  public int digit;
  public int numericValue;
  public char uppercase;
  public char lowercase;
  public char titlecase;
}
--- end ---
---- UnicodeBase.java ----
import java.io.*;

public abstract class UnicodeBase
{
  public CharInfo[] chars = new CharInfo[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].lowercase != 0 ?
		   chars[i].lowercase : i);
	if (Character.toLowerCase(i) != cs)
	    stringChar(cs);
      
      }
  }
}
---- end ---

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-21 19:49:53
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17587


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