glibc-current
Florian La Roche
florian@suse.de
Thu Sep 24 12:04:00 GMT 1998
> > 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
More information about the Libc-hacker
mailing list