From: Andrew Crabtree Message-Id: <199706172202.AA157474965@typhoon.rose.hp.com> Subject: Re: PGCC dependability? To: djgpp AT delorie DOT com Date: Tue, 17 Jun 1997 15:02:44 PDT Precedence: bulk > > I crashed the compiler on my first test using -O3, probably related to > the 3000+ line switch statement it contains (*I did not write that part > of the program). At a guess I'd say code that stretches djgpp's limits > is going to break pgcc occasionally. Was this with snapshot 0509 or 0522? Your problem is 99% sure to be stack size related. 0509 had only 700K stack space. 0522 had 2 MB. I tested 0522 with some pretty large files and didn't run into problems. I do remember Marc mentiontioning that he had found a package that required 40MB of stack space, and there was no way I was going to stubedit cc1 to that size and distribute it. You can always stubedit higher if you have the memory. Also, as optimization options increase, so do memory requirements. Andrew