This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
Re: gcj/79
- To: apbianco at cygnus dot com
- Subject: Re: gcj/79
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: 1 Nov 1999 21:16:00 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Bryce McKinlay <bryce at albatross dot co dot nz>
The following reply was made to PR gcj/79; it has been noted by GNATS.
From: Bryce McKinlay <bryce@albatross.co.nz>
To: java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/79
Date: Tue, 02 Nov 1999 10:16:14 +1300
Tom Tromey wrote:
> FYI, I just tried a simple test case and this works for me.
> Maybe something more complex is going on?
> I've appended my test code.
> I'm running a circa-Oct 21 gcc and an up-to-date libgcj.
This problem seems to occur only when optimization is used. It works
fine for me without "-O", otherwise, I get:
[bryce@hokkaido array_final]$ ./a
Out of Memory! Returning NIL!
Aborted
And a stack trace with this in it:
#8 0x40090a47 in _Jv_NewPrimArray (eltype=0x401921e0, count=1075380524)
at ../../../libjava/gcj/cni.h:117
#9 0x40090af5 in JvNewByteArray (length=1075380524)
at ../../../libjava/prims.cc:402
#10 0x40090c89 in _Jv_NewArray (type=8, size=1075380524)
at ../../../libjava/prims.cc:444
regards
[ bryce ]