aboutsummaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2001-12-01 08:16:25 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-12-01 08:16:25 +0000
commitcfc45fb499aafa52c6b13b259a1a10acd67fcd9c (patch)
tree3b43b1e5c740bd5316f62a3d857f18b639d3902c /gcc/gengenrtl.c
parentaf46cdde202aec94a5f65dc69a1f1f0a9704c67b (diff)
downloadgcc-cfc45fb499aafa52c6b13b259a1a10acd67fcd9c.zip
gcc-cfc45fb499aafa52c6b13b259a1a10acd67fcd9c.tar.gz
gcc-cfc45fb499aafa52c6b13b259a1a10acd67fcd9c.tar.bz2
gencheck.c, [...]: Don't define xmalloc.
* gencheck.c, gengenrtl.c: Don't define xmalloc. * gensupport.c: Don't define xstrdup, xcalloc, xrealloc, xmalloc. * f/fini.c: Use xmalloc. From-SVN: r47506
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r--gcc/gengenrtl.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c
index ad1bc7f..0d40025 100644
--- a/gcc/gengenrtl.c
+++ b/gcc/gengenrtl.c
@@ -390,24 +390,6 @@ gencode ()
gendef (*fmt);
}
-#if defined(USE_C_ALLOCA)
-PTR
-xmalloc (nbytes)
- size_t nbytes;
-{
- PTR tmp = (PTR) really_call_malloc (nbytes);
-
- if (!tmp)
- {
- fprintf (stderr, "can't allocate %d bytes (out of virtual memory)\n",
- nbytes);
- exit (FATAL_EXIT_CODE);
- }
-
- return tmp;
-}
-#endif /* USE_C_ALLOCA */
-
/* This is the main program. We accept only one argument, "-h", which
says we are writing the genrtl.h file. Otherwise we are writing the
genrtl.c file. */