This is the mail archive of the
mailing list for the Cygwin project.
Re:Strange behaviour of gcc
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.
At 07:21 2002-12-24, email@example.com wrote:
>-- Messaggio Originale --
>Date: Tue, 24 Dec 2002 16:11:34 +1100 (EST)
>From: Danny Smith <firstname.lastname@example.org>
>Subject: Re:Strange behaviour of gcc
>> 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).
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html