From f62f398a28629937d937cae5bbc43e2d1e76e967 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 26 Jun 1993 11:43:50 -0400 Subject: [PATCH] Remove #define of alloca to __builtin_alloca. From-SVN: r4756 --- gcc/config/a29k/xm-a29k.h | 7 +------ gcc/config/alpha/xm-alpha.h | 8 +++----- gcc/config/arm/xm-arm.h | 7 +------ gcc/config/clipper/xm-clix.h | 5 ----- gcc/config/convex/xm-convex.h | 5 ----- gcc/config/elxsi/xm-elxsi.h | 7 +------ gcc/config/fx80/xm-fx80.h | 8 +------- gcc/config/i386/xm-i386.h | 8 +------- gcc/config/i860/xm-i860.h | 7 +------ gcc/config/i960/xm-i960.h | 8 +++----- gcc/config/m68k/xm-crds.h | 2 -- gcc/config/m68k/xm-m68k.h | 9 +-------- gcc/config/m88k/xm-m88k.h | 8 +++----- gcc/config/mips/xm-mips.h | 9 +++------ gcc/config/ns32k/xm-ns32k.h | 7 +------ gcc/config/pyr/xm-pyr.h | 7 +------ gcc/config/romp/xm-romp.h | 7 +------ gcc/config/rs6000/xm-rs6000.h | 12 +++--------- gcc/config/sh/xm-sh.h | 7 +------ gcc/config/sparc/xm-sparc.h | 9 +-------- gcc/config/sparc/xm-sysv4.h | 9 +-------- gcc/config/spur/xm-spur.h | 7 +------ gcc/config/tahoe/xm-tahoe.h | 7 +------ gcc/config/vax/xm-vax.h | 7 +------ gcc/config/vax/xm-vms.h | 5 ----- gcc/config/we32k/xm-we32k.h | 7 +------ 26 files changed, 32 insertions(+), 157 deletions(-) diff --git a/gcc/config/a29k/xm-a29k.h b/gcc/config/a29k/xm-a29k.h index 356e929d764..e814638a245 100644 --- a/gcc/config/a29k/xm-a29k.h +++ b/gcc/config/a29k/xm-a29k.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for AMD Am29000 processor. - Copyright (C) 1987, 1988 Free Software Foundation, Inc. + Copyright (C) 1987, 1988, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -38,8 +38,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif diff --git a/gcc/config/alpha/xm-alpha.h b/gcc/config/alpha/xm-alpha.h index 5bd20b5c1d6..0a0f3a17086 100644 --- a/gcc/config/alpha/xm-alpha.h +++ b/gcc/config/alpha/xm-alpha.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for DEC Alpha. - Copyright (C) 1990, 192, 1993 Free Software Foundation, Inc. + Copyright (C) 1990, 1992, 1993 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@nyu.edu). This file is part of GNU CC. @@ -41,10 +41,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define FAILURE_EXIT_CODE 2 #define FATAL_EXIT_CODE 3 -/* If compiled with GNU C, use the built-in alloca. */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else +/* If not compiled with GNU C, use the C alloca. */ +#ifndef __GNUC__ #define USE_C_ALLOCA #endif diff --git a/gcc/config/arm/xm-arm.h b/gcc/config/arm/xm-arm.h index 5e3cb64b93f..d75ac79bcfb 100644 --- a/gcc/config/arm/xm-arm.h +++ b/gcc/config/arm/xm-arm.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Acorn RISC Machine. - Copyright (C) 1991 Free Software Foundation, Inc. + Copyright (C) 1991, 1993 Free Software Foundation, Inc. Contributed by Pieter `Tiggr' Schoenmakers (rcpieter@win.tue.nl) and Martin Simmons (@harleqn.co.uk). @@ -29,11 +29,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_LONG 32 -/* If compiled with GNU C, use the built-in alloca. */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h" diff --git a/gcc/config/clipper/xm-clix.h b/gcc/config/clipper/xm-clix.h index 846a1199ec1..5485c242539 100644 --- a/gcc/config/clipper/xm-clix.h +++ b/gcc/config/clipper/xm-clix.h @@ -24,11 +24,6 @@ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - /* isinf isn't there, but finite is. */ #define isinf(x) (!finite(x)) diff --git a/gcc/config/convex/xm-convex.h b/gcc/config/convex/xm-convex.h index 38e717f3909..35dfbf1e137 100644 --- a/gcc/config/convex/xm-convex.h +++ b/gcc/config/convex/xm-convex.h @@ -36,11 +36,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - /* Convex ships /tmp as a separate file system - thus it usually has more free space than /usr/tmp */ diff --git a/gcc/config/elxsi/xm-elxsi.h b/gcc/config/elxsi/xm-elxsi.h index 86bfca11ebb..9ac8dc83eee 100644 --- a/gcc/config/elxsi/xm-elxsi.h +++ b/gcc/config/elxsi/xm-elxsi.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Elxsi. - Copyright (C) 1987 Free Software Foundation, Inc. + Copyright (C) 1987, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -35,8 +35,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - diff --git a/gcc/config/fx80/xm-fx80.h b/gcc/config/fx80/xm-fx80.h index ed9011c8427..a5c51e0c47a 100644 --- a/gcc/config/fx80/xm-fx80.h +++ b/gcc/config/fx80/xm-fx80.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Alliant FX computers. - Copyright (C) 1989 Free Software Foundation, Inc. + Copyright (C) 1989, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -36,9 +36,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - diff --git a/gcc/config/i386/xm-i386.h b/gcc/config/i386/xm-i386.h index eb90681006f..78867243fcf 100644 --- a/gcc/config/i386/xm-i386.h +++ b/gcc/config/i386/xm-i386.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Intel 80386. - Copyright (C) 1988 Free Software Foundation, Inc. + Copyright (C) 1988, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -36,12 +36,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#undef alloca -#define alloca __builtin_alloca -#endif - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ diff --git a/gcc/config/i860/xm-i860.h b/gcc/config/i860/xm-i860.h index 2b27de91ac4..0e7b0b99397 100644 --- a/gcc/config/i860/xm-i860.h +++ b/gcc/config/i860/xm-i860.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Intel i860. - Copyright (C) 1988 Free Software Foundation, Inc. + Copyright (C) 1988, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -36,11 +36,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ diff --git a/gcc/config/i960/xm-i960.h b/gcc/config/i960/xm-i960.h index 800742688da..cf3dfabcd9c 100644 --- a/gcc/config/i960/xm-i960.h +++ b/gcc/config/i960/xm-i960.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Intel 960 family - Copyright (C) 1987 Free Software Foundation, Inc. + Copyright (C) 1987, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -32,10 +32,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else +/* If not compiled with GNU C, use the C alloca */ +#ifndef __GNUC__ #define USE_C_ALLOCA #endif diff --git a/gcc/config/m68k/xm-crds.h b/gcc/config/m68k/xm-crds.h index c41ec25f9bd..a594d3f2f58 100644 --- a/gcc/config/m68k/xm-crds.h +++ b/gcc/config/m68k/xm-crds.h @@ -15,7 +15,5 @@ #ifndef __GNUC__ #define USE_C_ALLOCA -#else -#define alloca __builtin_alloca #endif diff --git a/gcc/config/m68k/xm-m68k.h b/gcc/config/m68k/xm-m68k.h index 2f09a4d90ec..f3d626dc5b9 100644 --- a/gcc/config/m68k/xm-m68k.h +++ b/gcc/config/m68k/xm-m68k.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Motorola 68000 family. - Copyright (C) 1987 Free Software Foundation, Inc. + Copyright (C) 1987, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -38,10 +38,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -/* Use an arg in this macro because that's what some other - system does--let's avoid conflict. */ -#define alloca(x) __builtin_alloca(x) -#endif diff --git a/gcc/config/m88k/xm-m88k.h b/gcc/config/m88k/xm-m88k.h index 86c2c089d00..d6e32f1991c 100644 --- a/gcc/config/m88k/xm-m88k.h +++ b/gcc/config/m88k/xm-m88k.h @@ -1,6 +1,6 @@ /* Configuration for GNU compiler. Motorola m88100 in an 88open OCS/BCS environment. - Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc. + Copyright (C) 1988, 1989, 1990, 1991, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -54,10 +54,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Define HAVE_VPRINTF if it is available on host system. */ #define HAVE_VPRINTF -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else +/* If not compiled with GNU C, use the C alloca */ +#ifndef __GNUC__ #define USE_C_ALLOCA #endif diff --git a/gcc/config/mips/xm-mips.h b/gcc/config/mips/xm-mips.h index 2791917c878..59173eea170 100644 --- a/gcc/config/mips/xm-mips.h +++ b/gcc/config/mips/xm-mips.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for MIPS Rx000 family - Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc. + Copyright (C) 1989, 1990, 1991, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -60,12 +60,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #ifndef MIPS_OVERRIDE_ALLOCA -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca - -#else +#ifndef __GNUC__ #define USE_C_ALLOCA + extern char * alloca (); /* for the emacs version of alloca */ diff --git a/gcc/config/ns32k/xm-ns32k.h b/gcc/config/ns32k/xm-ns32k.h index 0342169ebb6..bb60c26a639 100644 --- a/gcc/config/ns32k/xm-ns32k.h +++ b/gcc/config/ns32k/xm-ns32k.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Vax. - Copyright (C) 1987 Free Software Foundation, Inc. + Copyright (C) 1987, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -39,8 +39,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define memcpy(src,dst,len) bcopy ((dst),(src),(len)) #define memset gcc_memset #define memcmp(left,right,len) bcmp ((left),(right),(len)) - -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif diff --git a/gcc/config/pyr/xm-pyr.h b/gcc/config/pyr/xm-pyr.h index 614fc43ed2e..910d4ccb2ba 100644 --- a/gcc/config/pyr/xm-pyr.h +++ b/gcc/config/pyr/xm-pyr.h @@ -1,5 +1,5 @@ /* Configuration for GNU compiler, for Pyramid 90x, 9000, and MIServer Series. - Copyright (C) 1989 Free Software Foundation, Inc. + Copyright (C) 1989, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -37,8 +37,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif diff --git a/gcc/config/romp/xm-romp.h b/gcc/config/romp/xm-romp.h index f3e0bb9e817..e8f8fb62e0a 100644 --- a/gcc/config/romp/xm-romp.h +++ b/gcc/config/romp/xm-romp.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for IBM RT PC. - Copyright (C) 1989, 1991 Free Software Foundation, Inc. + Copyright (C) 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -39,11 +39,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - /* If compiled with hc, use the built-in alloca and memcpy. These definitions assume hc version 2. */ #ifdef __HIGHC__ diff --git a/gcc/config/rs6000/xm-rs6000.h b/gcc/config/rs6000/xm-rs6000.h index f1194fcbb84..c63de772745 100644 --- a/gcc/config/rs6000/xm-rs6000.h +++ b/gcc/config/rs6000/xm-rs6000.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for IBM RS/6000. - Copyright (C) 1990 Free Software Foundation, Inc. + Copyright (C) 1990, 1993 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@nyu.edu). This file is part of GNU CC. @@ -41,15 +41,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define FAILURE_EXIT_CODE 2 #define FATAL_EXIT_CODE 3 -/* If compiled with GNU C, use the built-in alloca. */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else -#define USE_C_ALLOCA -#endif - -/* If not compiled with GNU C, use only int bitfields. */ +/* If not compiled with GNU C, use the C alloca and use only int bitfields. */ #ifndef __GNUC__ +#define USE_C_ALLOCA #define ONLY_INT_FIELDS #endif diff --git a/gcc/config/sh/xm-sh.h b/gcc/config/sh/xm-sh.h index 148ff57267a..8c422b89371 100644 --- a/gcc/config/sh/xm-sh.h +++ b/gcc/config/sh/xm-sh.h @@ -1,6 +1,6 @@ /* Configuration for GNU C-compiler for Hitachi SH. Copyright (C) 1993 Free Software Foundation, Inc. -This file is part of GNU CC. + This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,11 +26,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HOST_BITS_PER_INT 32 #define HOST_BITS_PER_LONG 32 -/* If compiled with GNU C, use the built-in alloca. */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h" diff --git a/gcc/config/sparc/xm-sparc.h b/gcc/config/sparc/xm-sparc.h index 5056c6add9e..f5afed82dec 100644 --- a/gcc/config/sparc/xm-sparc.h +++ b/gcc/config/sparc/xm-sparc.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Sun Sparc. - Copyright (C) 1988 Free Software Foundation, Inc. + Copyright (C) 1988, 1993 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com). This file is part of GNU CC. @@ -46,10 +46,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __GNUC__ #include "alloca.h" #endif - -/* If compiled with GNU C, use the built-in alloca. */ -#ifdef __GNUC__ -/* Use an arg in this macro because that's what some other - system does--let's avoid conflict. */ -#define alloca(x) __builtin_alloca(x) -#endif diff --git a/gcc/config/sparc/xm-sysv4.h b/gcc/config/sparc/xm-sysv4.h index 666815c314e..b8983f56f40 100644 --- a/gcc/config/sparc/xm-sysv4.h +++ b/gcc/config/sparc/xm-sysv4.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Sun Sparc running System V.4. - Copyright (C) 1992 Free Software Foundation, Inc. + Copyright (C) 1992, 1993 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@ncd.com). This file is part of GNU CC. @@ -42,13 +42,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca. */ -#ifdef __GNUC__ -/* Use an arg in this macro because that's what some other - system does--let's avoid conflict. */ -#define alloca(x) __builtin_alloca(x) -#endif - #include "xm-svr4.h" #ifndef __GNUC__ diff --git a/gcc/config/spur/xm-spur.h b/gcc/config/spur/xm-spur.h index 06881887cda..052f13435e4 100644 --- a/gcc/config/spur/xm-spur.h +++ b/gcc/config/spur/xm-spur.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Berkeley SPUR processor. - Copyright (C) 1988 Free Software Foundation, Inc. + Copyright (C) 1988, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -36,8 +36,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Arguments to use with `exit'. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif diff --git a/gcc/config/tahoe/xm-tahoe.h b/gcc/config/tahoe/xm-tahoe.h index a5f06e94de5..193ee7a5226 100644 --- a/gcc/config/tahoe/xm-tahoe.h +++ b/gcc/config/tahoe/xm-tahoe.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Tahoe. - Copyright (C) 1987 Free Software Foundation, Inc. + Copyright (C) 1987, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -56,8 +56,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 - -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif diff --git a/gcc/config/vax/xm-vax.h b/gcc/config/vax/xm-vax.h index abbfe3c635e..219ef2310fa 100644 --- a/gcc/config/vax/xm-vax.h +++ b/gcc/config/vax/xm-vax.h @@ -1,5 +1,5 @@ /* Configuration for GNU C-compiler for Vax. - Copyright (C) 1987 Free Software Foundation, Inc. + Copyright (C) 1987, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -39,11 +39,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - /* isinf isn't there, but finite is. */ #define isinf(x) (!finite(x)) diff --git a/gcc/config/vax/xm-vms.h b/gcc/config/vax/xm-vms.h index 98a728ac411..b29c037a3b8 100644 --- a/gcc/config/vax/xm-vms.h +++ b/gcc/config/vax/xm-vms.h @@ -64,11 +64,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define F_OK 0 #endif -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca __builtin_alloca -#endif - #define GCC_INCLUDE_DIR "///not used with VMS///" /* nonsense string for now */ /* and define a local equivalent (sort of) for unlink */ diff --git a/gcc/config/we32k/xm-we32k.h b/gcc/config/we32k/xm-we32k.h index 22b92b137f9..d8e293fb30c 100644 --- a/gcc/config/we32k/xm-we32k.h +++ b/gcc/config/we32k/xm-we32k.h @@ -1,6 +1,6 @@ /* Configuration for GNU C-compiler for AT&T we32000 Family. Contributed by John Wehle (john@feith1.uucp) - Copyright (C) 1991-1992 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -36,11 +36,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 -/* If compiled with GNU C, use the built-in alloca */ -#ifdef __GNUC__ -#define alloca(x) __builtin_alloca(x) -#endif - /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h" -- 2.30.2