[net.lang.c] C stack frame > 32K

gnu@sun.uucp (12/28/84)

Mark Plotnick (allegra!mp) says:
> Note that if you care about getting correct code out of the SMI C
> compiler, you shouldn't use stack frames larger than 32Kbytes.  This is
> because of a bug in their compiler (at least as of release 1.1, which
> is what we have) with the handling of floating point operations that
> require scratch areas on the stack.  The compiler doesn't seem to know
> that displacements, as in reg@(disp), are limited to 16-bit signed
> integers.

This is true.  A more recent version of the compiler (as yet unreleased)
gives a compile-time diagnostic rather than a runtime error, and we're
working on a fix.  Sorry folks...we fixed SOME of the bugs with large
stack frames...