Allocation of local variables (was: Re: Duff's device)

Usenet Administration meissner at xyzzy.UUCP
Mon Sep 26 11:32:40 AEST 1988


In article <803 at philmds.UUCP> leo at philmds.UUCP (Leo de Wit) writes:
| To use a variation of the previous poster's question: does anyone know
| of any compiler that does not already allocate all the stack space
| needed at entrance of the function?

Some of Data General's other compilers do this (notably PL/1 and
DG/L).  In addition to the normal add/subtract of the stack pointer,
the code generator detects jumping into blocks, it has to allocate the
space, as well as removing the space on a jump out of a block.
-- 
Michael Meissner, Data General.

Uucp:	...!mcnc!rti!xyzzy!meissner
Arpa:	meissner at dg-rtp.DG.COM   (or) meissner%dg-rtp.DG.COM at relay.cs.net



More information about the Comp.lang.c mailing list