[4115] in Athena Bugs

home help back first fref pref prev next nref lref last post

alloca() on RT

daemon@ATHENA.MIT.EDU (John Carr)
Fri Feb 2 02:21:55 1990

To: bugs@ATHENA.MIT.EDU
Cc: gnu@ATHENA.MIT.EDU
Date: Fri, 02 Feb 90 02:13:27 EST
From: John Carr <jfc@ATHENA.MIT.EDU>

Gnu software makes extensive use of alloca().  On the RT with hc2.1 there
is a builtin function called "_Alloca" which does what alloca() does (but
improves code quality, as the optimizer is free to fully optimize those
functions which do not use alloca, and a function call is not required in
those which do).  The emacs machine dependent config file should be
changed to have these lines:

#ifdef __HIGHC__
#define alloca _Alloca
#endif

and the "-ma" compiler flag should be deleted.

  --John Carr

home help back first fref pref prev next nref lref last post