This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 1.3.4 status?



----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin-developers@cygwin.com>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]