Remove #define of alloca to __builtin_alloca.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 26 Jun 1993 15:43:50 +0000 (11:43 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 26 Jun 1993 15:43:50 +0000 (11:43 -0400)
From-SVN: r4756

26 files changed:
gcc/config/a29k/xm-a29k.h
gcc/config/alpha/xm-alpha.h
gcc/config/arm/xm-arm.h
gcc/config/clipper/xm-clix.h
gcc/config/convex/xm-convex.h
gcc/config/elxsi/xm-elxsi.h
gcc/config/fx80/xm-fx80.h
gcc/config/i386/xm-i386.h
gcc/config/i860/xm-i860.h
gcc/config/i960/xm-i960.h
gcc/config/m68k/xm-crds.h
gcc/config/m68k/xm-m68k.h
gcc/config/m88k/xm-m88k.h
gcc/config/mips/xm-mips.h
gcc/config/ns32k/xm-ns32k.h
gcc/config/pyr/xm-pyr.h
gcc/config/romp/xm-romp.h
gcc/config/rs6000/xm-rs6000.h
gcc/config/sh/xm-sh.h
gcc/config/sparc/xm-sparc.h
gcc/config/sparc/xm-sysv4.h
gcc/config/spur/xm-spur.h
gcc/config/tahoe/xm-tahoe.h
gcc/config/vax/xm-vax.h
gcc/config/vax/xm-vms.h
gcc/config/we32k/xm-we32k.h

index 356e929d7644807ba36349d0057ca544d36e9596..e814638a245c537f6cd6a43fdee64ec1a22004ed 100644 (file)
@@ -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
index 5bd20b5c1d6a729ea753e71ffa348273f53e4c41..0a0f3a170862615952d7a9fafc8c83193813bec8 100644 (file)
@@ -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
 
index 5e3cb64b93faa8709ddd70267327c55a80d84826..d75ac79bcfb6f9f591b0c6b372ccaec2eefcb2ba 100644 (file)
@@ -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"
index 846a1199ec19eae64312ece6bcfdfeed21c723f9..5485c2425392169b1673ec91f3ed496846851f32 100644 (file)
 #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))
 
index 38e717f390939ea403115892375697886f9d7fdf..35dfbf1e137864f592c4d4663707c4e2f4d36055 100644 (file)
@@ -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 */
 
index 86bfca11ebb66921781634990b0505dabf117bdb..9ac8dc83eee9b3e1ebac8e488f8d1282e9209a50 100644 (file)
@@ -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
-
index ed9011c8427d41a380df41da48b41a53e9e88c6b..a5c51e0c47ad97b412db8d7c4741a2420e12b411 100644 (file)
@@ -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
-
index eb90681006fdea3d6b3805d29e9e3416a5e848dd..78867243fcfc43d72dc6431e73abe7234a39ff7a 100644 (file)
@@ -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.   */
 
index 2b27de91ac4de0112c9e37b1d32095a726c50cbf..0e7b0b9939724a53df56418b2e772cbdc0d3a15c 100644 (file)
@@ -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.   */
 
index 800742688da85a7626442b5a8ad05ff549ff19a3..cf3dfabcd9cb6dbcd83fa2374efa5af9219a6921 100644 (file)
@@ -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
 
index c41ec25f9bd0b69c093c993b56a99543e4092a13..a594d3f2f5816c4388631109a8ef58f5c3e896ce 100644 (file)
@@ -15,7 +15,5 @@
 
 #ifndef __GNUC__
 #define USE_C_ALLOCA
-#else
-#define alloca __builtin_alloca
 #endif
 
index 2f09a4d90ecc89674680ad34c73adea5a384d9c0..f3d626dc5b9518684dd3f22eea42a6a01ee1a64c 100644 (file)
@@ -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
index 86c2c089d00b39c0c5d0216bd80bceffa7b38ebf..d6e32f1991ca42008e5eb4b00af22e298a6023ab 100644 (file)
@@ -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
 
index 2791917c878b3d63c8b80614e15a476545704c43..59173eea170d16f4b725f2f3fd27efa83169d92b 100644 (file)
@@ -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 */
index 0342169ebb6bdfb83a0d4b92856cbf4bfa1f6bc3..bb60c26a639deaa8ca4f877d78e4c5f950e8b028 100644 (file)
@@ -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
index 614fc43ed2e57d21a112d3e9378b757c8a8ec08d..910d4ccb2bac35d38380f3c85f2435b7280eaf9e 100644 (file)
@@ -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
index f3e0bb9e81778ba0de0a67abc28fd25476cfd99c..e8f8fb62e0a549d7564e040a4bc6719cd125ee9e 100644 (file)
@@ -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__
index f1194fcbb845c866f2d4d88c914b46bbd40432e4..c63de772745ab5303dda5787e077fd2f40462077 100644 (file)
@@ -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
 
index 148ff57267a950e99610d0aac71dd9486027c13f..8c422b8937155d79754fb4550e38f7685fc9d3c3 100644 (file)
@@ -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"
index 5056c6add9e7840c96369019ccabf6ab177af816..f5afed82dec4ca056f534154a770e549403af3e7 100644 (file)
@@ -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
index 666815c314e39d78bf674a29b8bf29e1cf02b78e..b8983f56f407360aa5342df1e3bd4703095abbd7 100644 (file)
@@ -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__
index 06881887cda380f4c775690b9363aab02fd548e2..052f13435e47a899d829875cad477466a26583da 100644 (file)
@@ -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
index a5f06e94de5d2e4e220a78ba64c425a8050fd5b3..193ee7a52266370f12a5647b62cfc3f244eebb97 100644 (file)
@@ -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
index abbfe3c635eacafc443cac19d5f2cd40a0d80c7f..219ef2310fafacec5e582b2287947d27ab22bfd7 100644 (file)
@@ -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))
 
index 98a728ac411fa657e115da1095fabc6d3145b481..b29c037a3b8565a1e39eae343ce92518e605ac80 100644 (file)
@@ -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 */
index 22b92b137f9da3b8430045d8b21233d1a1c4b3e1..d8e293fb30cb76efba8bb747ded28f148ef169be 100644 (file)
@@ -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"