This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Gcj 3.0 on Itanium, again
- To: java at gcc dot gnu dot org
- Subject: Re: Gcj 3.0 on Itanium, again
- From: Bob Jamison <rjamison at lincom-asg dot com>
- Date: Mon, 25 Jun 2001 08:58:30 -0500
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 =========