Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <034501c15b6a$9a51fd10$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <02a201c15b5b$7910a4d0$0200a8c0 AT lifelesswks> <20011022204740 DOT B18754 AT redhat DOT com> <20011023005236 DOT 7136 DOT qmail AT lizard DOT curl DOT com> <20011022205828 DOT C18754 AT redhat DOT com> <02ea01c15b5f$7e673bc0$0200a8c0 AT lifelesswks> <20011022212759 DOT A19493 AT redhat DOT com> <032701c15b64$ea5523b0$0200a8c0 AT lifelesswks> <20011022215102 DOT A20341 AT redhat DOT com> <033101c15b66$24fc2260$0200a8c0 AT lifelesswks> <033701c15b68$f3684d70$0200a8c0 AT lifelesswks> <20011022222324 DOT B20427 AT redhat DOT com> Subject: Re: 1.3.4 status? Date: Tue, 23 Oct 2001 12:29:51 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 23 Oct 2001 02:34:36.0477 (UTC) FILETIME=[41B00ED0:01C15B6B] ----- Original Message ----- From: "Christopher Faylor" To: Sent: Tuesday, October 23, 2001 12:23 PM Subject: Re: 1.3.4 status? > On Tue, Oct 23, 2001 at 12:18:05PM +1000, Robert Collins wrote: > >on every call, it checks the stack depth. _everything_ allocated from a > >call point deeper in the stack is reclaimed, and freed (alloca only uses > >the stack to identify when to do stuff, not for storage). > > That's what libiberty's alloca does. That is for systems for which a > real alloca is difficult or impossible. That isn't what the builtin > alloca does. *Blush*. I should have recalled builtin-alloca's existence. > The alloca that cygwin uses is below. This is from > gcc/config/i386/cygwin.asm. ... or in other words, allocate directly on the stack. Cool. Rob