aboutsummaryrefslogtreecommitdiffstats
path: root/src/m
diff options
context:
space:
mode:
authorDave Love <[email protected]>2002-11-18 16:44:04 +0000
committerDave Love <[email protected]>2002-11-18 16:44:04 +0000
commite0db4f149c76d0c1e9d838c516ffad12a2f9c4f8 (patch)
treee6cfcc8505342ac6dc2da05a4e3678cd009b6ad2 /src/m
parentdee8ab28ac52f3d4c0bae527614fb5fa7122054d (diff)
Don't define alloca.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/arm.h7
-rw-r--r--src/m/tekxd88.h4
-rw-r--r--src/m/tower32v3.h1
3 files changed, 1 insertions, 11 deletions
diff --git a/src/m/arm.h b/src/m/arm.h
index ad22303eee..4dafe6819f 100644
--- a/src/m/arm.h
+++ b/src/m/arm.h
@@ -47,11 +47,4 @@ Boston, MA 02111-1307, USA. */
#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 --git a/src/m/tekxd88.h b/src/m/tekxd88.h
index c2551be478..cc2439d0a9 100644
--- a/src/m/tekxd88.h
+++ b/src/m/tekxd88.h
@@ -81,9 +81,7 @@ Boston, MA 02111-1307, USA. */
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 --git a/src/m/tower32v3.h b/src/m/tower32v3.h
index c7406f3808..dbbafcd19c 100644
--- a/src/m/tower32v3.h
+++ b/src/m/tower32v3.h
@@ -82,7 +82,6 @@ Boston, MA 02111-1307, USA. */
/* #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