Commit f62f398a by Richard Kenner

Remove #define of alloca to __builtin_alloca.

From-SVN: r4756
parent 47df0262
/* 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
/* 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
......
/* 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"
......
......@@ -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))
......
......@@ -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 */
......
/* 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
/* 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
/* 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. */
......
/* 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. */
......
/* 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
......
......@@ -15,7 +15,5 @@
#ifndef __GNUC__
#define USE_C_ALLOCA
#else
#define alloca __builtin_alloca
#endif
/* 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
/* 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
......
/* 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 */
......
/* 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
/* 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
/* 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__
......
/* 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
......
/* 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"
......
/* 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
/* 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__
......
/* 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
/* 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
/* 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))
......@@ -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 */
......
/* 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment