Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mcnc!rti!xyzzy!meissner From: meissner@xyzzy.UUCP (Usenet Administration) Newsgroups: comp.lang.c Subject: Re: Allocation of local variables (was: Re: Duff's device) Keywords: no problem Message-ID: <1229@xyzzy.UUCP> Date: 26 Sep 88 01:32:40 GMT References: <32941@cca.CCA.COM> <718@proxftl.UUCP> <803@philmds.UUCP> Reply-To: meissner@xyzzy.UUCP (Michael Meissner) Organization: Data General (Languages @ Research Triangle Park, NC.) Lines: 13 In article <803@philmds.UUCP> leo@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@dg-rtp.DG.COM (or) meissner%dg-rtp.DG.COM@relay.cs.net