Mail Archives: djgpp/1997/09/28/19:54:12
On 24 Sep 1997, Andrew Crabtree wrote:
> Marc Lehman claims to have seen cc1 allocate 40MB on the stack when pgcc
> was set to -O6 on a particularly large file. Yikes.
I think such cases need to be reported to FSF as bugs. 40MB would
break a lot of other platforms as well (e.g., I think Dec's OSF/1 Unix
has a default stack of 2MB).
Btw, I usually use the `stackrun' program written by Charles Sandmann,
to measure the stack usage in cases where the suspicion arises, and I
usually find it invaluable in such cases.
- Raw text -