This is the mail archive of the java@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]

Re: Gcj 3.0 on Itanium, again


I get the same on Irix6.5.3, when it compiles a static method:


JxtaRoute.java: In class `JxtaRoute':
JxtaRoute.java: In method `JxtaRoute.strstr(byte[],byte[],int)':
JxtaRoute.java:34: Internal compiler error in splice_child_die, at 
dwarf2out.c:4752


I guess I could run this in a debugger, but could it maybe
be as simple as the static method (line 34 below) being hashed
at the top level??




Bob



======== SNIP  ========= (small file, don't worry :)

import java.util.Hashtable;

public class JxtaRoute
{
byte jxtaMessageDestStart[],jxtaMessageDestEnd[];
byte jxtaMessageSrcStart[],jxtaMessageSrcEnd[];

public static int strstr(byte source[], byte what[],int offset)
{
   int slen=source.length;
   int wlen=what.length;
   int i,j,w;
   if (wlen>slen-offset)
     return -1;
   slen-=wlen;
   byte firstChar = what[0];
   i=offset;
   startSearchForFirstChar:
   while (i<slen)
     {
     if (source[i++]==firstChar)
       {
       j=i;
       for (w=1;w<wlen;w++)
         {
         if (source[j]!=what[w])
           continue startSearchForFirstChar;
         j++;
         }
       return i-1;
       }
     }
   return -1;
}   <----- ########  line 34


======== UNSNIP =========








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