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 356e929..e814638 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 5bd20b5..0a0f3a1 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 5e3cb64..d75ac79 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 846a119..5485c24 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 38e717f..35dfbf1 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 86bfca1..9ac8dc8 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 ed9011c..a5c51e0 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 eb90681..7886724 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 2b27de9..0e7b0b9 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 8007426..cf3dfab 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 c41ec25..a594d3f 100644 (file)
@@ -15,7 +15,5 @@
 
 #ifndef __GNUC__
 #define USE_C_ALLOCA
-#else
-#define alloca __builtin_alloca
 #endif
 
index 2f09a4d..f3d626d 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 86c2c08..d6e32f1 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 2791917..59173ee 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 0342169..bb60c26 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 614fc43..910d4cc 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 f3e0bb9..e8f8fb6 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 f1194fc..c63de77 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 148ff57..8c422b8 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 5056c6a..f5afed8 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 666815c..b8983f5 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 0688188..052f134 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 a5f06e9..193ee7a 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 abbfe3c..219ef23 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 98a728a..b29c037 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 22b92b1..d8e293f 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"