Now we're back to Max's question: Why does it matter to you?
Stack space is usually far more limited than heap space, which I assume is what motivates this behavior in the code generator. The programming language's semantics are maintained. And I challenge you to show a performance problem because some heap allocations are involved.
Randall Schulz
At 07:21 2002-12-24, [EMAIL PROTECTED] wrote:
>-- Messaggio Originale -- >Date: Tue, 24 Dec 2002 16:11:34 +1100 (EST) >From: Danny Smith <[EMAIL PROTECTED]> >Subject: Re:Strange behaviour of gcc >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] > > >[EMAIL PROTECTED] wrote: >> Is there a reason why the symbol __alloca appears? > > >GCC's __builtin_alloca uses a helper function called _alloca to check >the stack whenever allocating more that 4000 bytes in one go.Thanks a lot Danny. Is there a way to avoid that? I tried -fno-builtin, but it didn't seem to work (__alloca is still there). Fabrizio
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/