From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,14535261a1e8504b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-11 14:53:21 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: alerch@hotmail.com (Aaron Lerch) Newsgroups: comp.lang.ada Subject: Re: JGNAT and the Stack Date: 11 Oct 2001 14:53:21 -0700 Organization: http://groups.google.com/ Message-ID: <46afd8d4.0110111353.63140183@posting.google.com> References: <46afd8d4.0110091147.76fc0640@posting.google.com> <3BC43BFC.7E383FB0@earthlink.net> NNTP-Posting-Host: 199.46.200.233 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1002837201 6555 127.0.0.1 (11 Oct 2001 21:53:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 11 Oct 2001 21:53:21 GMT Xref: archiver1.google.com comp.lang.ada:14339 Date: 2001-10-11T21:53:21+00:00 List-Id: Thanks for your offer to help! I actually figured it out. I can't show you the code, but basically there was a case like this: Result := ((I and J) xor U); and something was wierd so the stack was 'full' so I broke it down into one operation per line which minimized the amount that had to be put on the stack, and it's all good! (although that's shoddy programming!!! :) ) Thanks again, Aaron "Marc A. Criley" wrote in message news:<3BC43BFC.7E383FB0@earthlink.net>... > Aaron Lerch wrote: > > > > I've compiled some Ada code into Java Bytecode with JGNAT. The > > compile went fine, but I'm finding that I'm getting run-time errors > > having to do with "Stack size too large" ... > > For those of you with JGNAT experience: is this resultant from JGNAT > > or is it from our Ada code? > > Thanks! > > I've written some pretty good-sized stuff and compiled it with JGNAT, > and not seen that particular error. Can you post the code that causes > this? > > Marc A. Criley > Senior Staff Engineer > Quadrus Corporation > www.quadruscorp.com