Subject: Re: alloca in libc
To: None <tech-toolchain@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: tech-toolchain
Date: 12/01/2005 09:04:15
On Thu, Dec 01, 2005 at 08:54:21AM +0100, Martin Husemann wrote:
> Stupid question - shouldn't we use the gcc builtin alloca()?
> Some archs seem to have alloca implementations in libc, others don't.
> 
> I ask because the recent constifications to execl*.c made them use alloca
> on sparc64, and sparc64 has no libc alloca implementation.

dito for at least sparc and evbppc
 
> So the other part of the question - why is gcc not using the builtin when
> complinig libc?
> 
> Martin

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)