Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!samsung!uunet!csun!news From: swalton@solaria.csun.edu (Stephen Walton) Newsgroups: comp.sys.amiga.programmer Subject: Re: AmigaGCC stack hogging Message-ID: <1991Jan14.212254.9779@csun.edu> Date: 14 Jan 91 21:22:54 GMT References: <1882f287.ARN1979@moria.UUCP> Sender: news@csun.edu (News Administrator) Reply-To: swalton@solaria.csun.edu (Stephen Walton) Organization: Cal State Northridge Lines: 15 In-Reply-To: bojsen@moria.UUCP (Per Bojsen) In article <1882f287.ARN1979@moria.UUCP>, bojsen@moria (Per Bojsen) writes: >What is the precise reason for the large stack needs of GCC? This is not peculiar to GCC. All of the GNU software is written as if the amount of available stack was essentially infinite. The GNU regular expression routines, for instance, use alloca() extensively. You will also find that GNU Emacs crashes on an A3000 running AmigaOS, because it uses the high bits of a 32 bit address to store information about Emacs Lisp objects. About the only other Amiga software which does this is AmigaBasic! ------------------------------- Stephen Walton, Dept. of Physics & Astronomy, Cal State Univ. Northridge I am srw@csun.edu no matter WHAT the stupid From: line says!