Subject: Re: alloca and libc
From: David Laight <email@example.com>
Date: 03/12/2002 00:09:24
On Mon, Mar 11, 2002 at 04:19:27PM +0100, Anders Magnusson wrote:
> > This means on say powerpc machines libc doesn't have alloca which makes some
> > package ports "interesting" when configure/etc go looking for alloca.
> > Is there any reason to leave these?
> Yes for sure. You may end up compiling with another compiler than gcc,
> especially userspace, or you may not want to use the builtins, or so.
> I would rather say that powerpc should have an alloca written.
Given that alloca() is an architectural nightmare, maybe you should
abolish it completely and fix code not to assume it is present at all.
Get rid of setjmp/longjmp at the same time :-)
David Laight: firstname.lastname@example.org