Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!oliveb!sun!thetone!swilson From: swilson%thetone@Sun.COM (Scott Wilson) Newsgroups: comp.lang.c Subject: Re: What goes on stack? Message-ID: <73872@sun.uucp> Date: 20 Oct 88 21:44:51 GMT References: <3221@sdsu.UUCP> Sender: news@sun.uucp Reply-To: swilson@sun.UUCP (Scott Wilson) Organization: Sun Microsystems, Mountain View Lines: 15 > Help! I'm working with Turbo C version 1.5. My program is large (about >30,000 lines) and deals with large arrays (static and dynamic) and many >[...] > Other than return addresses, register values, and paramaters, what else >does Turbo C put on the stack? The other important category that uses stack space is the non-register local variables of a function. If the "large arrays (... dynamic)" that you refer to are a function's local data (as opposed to mallocing space for an array) then this is probably where your problem is. -- Scott Wilson arpa: swilson@sun.com Sun Microsystems uucp: ...!sun!swilson Mt. View, CA