Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
f62f398a
Commit
f62f398a
authored
Jun 26, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove #define of alloca to __builtin_alloca.
From-SVN: r4756
parent
47df0262
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
32 additions
and
157 deletions
+32
-157
gcc/config/a29k/xm-a29k.h
+1
-6
gcc/config/alpha/xm-alpha.h
+3
-5
gcc/config/arm/xm-arm.h
+1
-6
gcc/config/clipper/xm-clix.h
+0
-5
gcc/config/convex/xm-convex.h
+0
-5
gcc/config/elxsi/xm-elxsi.h
+1
-6
gcc/config/fx80/xm-fx80.h
+1
-7
gcc/config/i386/xm-i386.h
+1
-7
gcc/config/i860/xm-i860.h
+1
-6
gcc/config/i960/xm-i960.h
+3
-5
gcc/config/m68k/xm-crds.h
+0
-2
gcc/config/m68k/xm-m68k.h
+1
-8
gcc/config/m88k/xm-m88k.h
+3
-5
gcc/config/mips/xm-mips.h
+3
-6
gcc/config/ns32k/xm-ns32k.h
+1
-6
gcc/config/pyr/xm-pyr.h
+1
-6
gcc/config/romp/xm-romp.h
+1
-6
gcc/config/rs6000/xm-rs6000.h
+3
-9
gcc/config/sh/xm-sh.h
+1
-6
gcc/config/sparc/xm-sparc.h
+1
-8
gcc/config/sparc/xm-sysv4.h
+1
-8
gcc/config/spur/xm-spur.h
+1
-6
gcc/config/tahoe/xm-tahoe.h
+1
-6
gcc/config/vax/xm-vax.h
+1
-6
gcc/config/vax/xm-vms.h
+0
-5
gcc/config/we32k/xm-we32k.h
+1
-6
No files found.
gcc/config/a29k/xm-a29k.h
View file @
f62f398a
/* 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
gcc/config/alpha/xm-alpha.h
View file @
f62f398a
/* Configuration for GNU C-compiler for DEC Alpha.
Copyright (C) 1990, 192, 1993 Free Software Foundation, Inc.
Copyright (C) 1990, 19
9
2, 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
...
...
gcc/config/arm/xm-arm.h
View file @
f62f398a
/* 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"
...
...
gcc/config/clipper/xm-clix.h
View file @
f62f398a
...
...
@@ -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))
...
...
gcc/config/convex/xm-convex.h
View file @
f62f398a
...
...
@@ -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 */
...
...
gcc/config/elxsi/xm-elxsi.h
View file @
f62f398a
/* 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
gcc/config/fx80/xm-fx80.h
View file @
f62f398a
/* 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
gcc/config/i386/xm-i386.h
View file @
f62f398a
/* 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. */
...
...
gcc/config/i860/xm-i860.h
View file @
f62f398a
/* 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. */
...
...
gcc/config/i960/xm-i960.h
View file @
f62f398a
/* 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
...
...
gcc/config/m68k/xm-crds.h
View file @
f62f398a
...
...
@@ -15,7 +15,5 @@
#ifndef __GNUC__
#define USE_C_ALLOCA
#else
#define alloca __builtin_alloca
#endif
gcc/config/m68k/xm-m68k.h
View file @
f62f398a
/* 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
gcc/config/m88k/xm-m88k.h
View file @
f62f398a
/* 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
...
...
gcc/config/mips/xm-mips.h
View file @
f62f398a
/* 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 */
...
...
gcc/config/ns32k/xm-ns32k.h
View file @
f62f398a
/* 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
gcc/config/pyr/xm-pyr.h
View file @
f62f398a
/* 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
gcc/config/romp/xm-romp.h
View file @
f62f398a
/* 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__
...
...
gcc/config/rs6000/xm-rs6000.h
View file @
f62f398a
/* 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
...
...
gcc/config/sh/xm-sh.h
View file @
f62f398a
/* 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"
...
...
gcc/config/sparc/xm-sparc.h
View file @
f62f398a
/* 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
gcc/config/sparc/xm-sysv4.h
View file @
f62f398a
/* 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__
...
...
gcc/config/spur/xm-spur.h
View file @
f62f398a
/* 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
gcc/config/tahoe/xm-tahoe.h
View file @
f62f398a
/* 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
gcc/config/vax/xm-vax.h
View file @
f62f398a
/* 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))
gcc/config/vax/xm-vms.h
View file @
f62f398a
...
...
@@ -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 */
...
...
gcc/config/we32k/xm-we32k.h
View file @
f62f398a
/* 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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment