Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!seismo!hao!hplabs!sri-unix!lee.usc-cse@rand-relay From: lee.usc-cse%rand-relay@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: stack memory allocation Message-ID: <3052@sri-arpa.UUCP> Date: Tue, 12-Jul-83 19:55:00 EDT Article-I.D.: sri-arpa.3052 Posted: Tue Jul 12 19:55:00 1983 Date-Received: Fri, 15-Jul-83 05:19:58 EDT Lines: 8 Yes, the compiler does use the stack during expression evaluation, tho if you do your "salloc" (which is provided is -lPW under the name amalloc) at statement level, there is no problem with the VAX or PDP/11 compilers. However, you are asking for portability problems because some C compilers make other assumptions about the stack pointer and may in fact be unable to deal with runtime changes to the stack frame size. I recommend against this under-the-compiler approach. -- Lee