This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc-current


> > Probably regexp.h should be changed to use alloca() instead of __alloca().
> 
> I did this although it's a bit unclean.  When a compiler which does
> not understand to handle alloca internally is used, the namespace will
> be polluted.  But I don't care enough (for this stupid definition and
> those compilers) to look for a better solution.

I agree that compiler should generate inline code for alloca, but isn't
"__alloca" missing even for gcc?

Does this mean that gcc should compile this without any problems as it
is now?
I think that gcc can only compile it if a "#define __alloca __builtin_alloca"
is added. At the moment, only "alloca" is defined this way.

Thanks a lot,
Hope I am not totally offtopic with this,

Florian La Roche



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]