RE: class gc (fwd)

Date view Thread view Subject view Author view

From: Parmelan, Edouard (EP510777@exchange.FRANCE.NCR.com)
Date: Thu Dec 17 1998 - 12:59:48 EST


> Godmar,
>
> > You must be talking about a different alloca.
> Yes and no:
> I'm talking about GNU-lib-compatibility alloca()
> found in many GNU sources as in id-utils-3.2
> you can read in alloca.c the follow lines:
> /* If compiling with GCC 2, this file's not needed. */
> #if !defined (__GNUC__) || __GNUC__ < 2
>
> Oops, I forget GCC __builtin_alloca() :(
>
> In fact, GCC use __builtin_alloca() unless you #define alloca()
> to an other thing :(
>
> > The one I have in mind is the one that simply moves the
> > stackpointer down, and voila:
> As GCC __builtin_alloca() does.
>
> > If GNU alloca cannot handle switching stack frames, I'd say we must
> > avoid it.
> May be a portability issue I gcc is not used or if a system
> dependent include provide his own implementation of alloca()
> by a #define of alloca(X) :(
>
>
> Edouard.
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:20 EDT