# HG changeset patch # User Dave Love # Date 1037637844 0 # Node ID afd7531a5181f8e8f34a7480020d42c66878e96b # Parent f93e5481ac9dec9b5548949eb022997ab23091ae Don't define alloca. diff -r f93e5481ac9d -r afd7531a5181 src/m/arm.h --- a/src/m/arm.h Mon Nov 18 16:37:53 2002 +0000 +++ b/src/m/arm.h Mon Nov 18 16:44:04 2002 +0000 @@ -47,11 +47,4 @@ #define NO_UNION_TYPE -#ifdef __GNUC__ - -/* Use builtin alloca. Also be sure that no other ones are tried out. */ -#define alloca __builtin_alloca - -#endif /* __GNUC__ */ - #define NO_REMAP diff -r f93e5481ac9d -r afd7531a5181 src/m/tekxd88.h --- a/src/m/tekxd88.h Mon Nov 18 16:37:53 2002 +0000 +++ b/src/m/tekxd88.h Mon Nov 18 16:44:04 2002 +0000 @@ -81,9 +81,7 @@ code will not be sharable; but that's better than failing completely. */ #define NO_REMAP -#ifdef __GNUC__ -# define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */ -#else /* not __GNUC__ */ +#ifndef __GNUC__ # define C_OPTIMIZE_SWITCH -O #endif /* __GNUC__ */ diff -r f93e5481ac9d -r afd7531a5181 src/m/tower32v3.h --- a/src/m/tower32v3.h Mon Nov 18 16:37:53 2002 +0000 +++ b/src/m/tower32v3.h Mon Nov 18 16:44:04 2002 +0000 @@ -82,7 +82,6 @@ /* #define VIRT_ADDR_VARIES */ #ifdef __GNUC__ -#define alloca __builtin_alloca #define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer #define LIB_STANDARD -lc /lib/crtn.o #else