changeset 48437:afd7531a5181

Don't define alloca.
author Dave Love <fx@gnu.org>
date Mon, 18 Nov 2002 16:44:04 +0000
parents f93e5481ac9d
children 874e8459e48a
files src/m/arm.h src/m/tekxd88.h src/m/tower32v3.h
diffstat 3 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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__ */
 
--- 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