Subject: Re: alloca in libc
To: matthew green <firstname.lastname@example.org>
From: Jason Thorpe <email@example.com>
Date: 12/01/2005 12:52:39
On Dec 1, 2005, at 9:37 AM, matthew green wrote:
> On Thu, Dec 01, 2005 at 08:54:20AM +0100, Martin Husemann wrote:
>> So the other part of the question - why is gcc not using the
>> builtin when
>> complinig libc?
> Ok, I found it: we now use -std=c99
If you used -std=gnu99 alloca() should still be available.
Furthermore, we could provide our own <alloca.h> header file that
#define alloca(x) __builtin_alloca(x)
That would work with any -std=... option.