summaryrefslogtreecommitdiff
path: root/gcc/gencheck.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-01 08:16:25 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-01 08:16:25 +0000
commitbbb8ca064d01c76dd68e15166af039b6074806dc (patch)
tree3b43b1e5c740bd5316f62a3d857f18b639d3902c /gcc/gencheck.c
parent8aba075370c6d58c5ab822383c7e1939bb3237ff (diff)
downloadgcc-bbb8ca064d01c76dd68e15166af039b6074806dc.tar.gz
* gencheck.c, gengenrtl.c: Don't define xmalloc.
* gensupport.c: Don't define xstrdup, xcalloc, xrealloc, xmalloc. * f/fini.c: Use xmalloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gencheck.c')
-rw-r--r--gcc/gencheck.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/gencheck.c b/gcc/gencheck.c
index 87364505d8f..c676ef9ecd5 100644
--- a/gcc/gencheck.c
+++ b/gcc/gencheck.c
@@ -70,24 +70,3 @@ main (argc, argv)
puts ("\n#endif /* GCC_TREE_CHECK_H */");
return 0;
}
-
-#if defined(USE_C_ALLOCA)
-/* FIXME: We only need an xmalloc definition because we are forced to
- link with alloca.o on some platforms. This should go away if/when
- we link against libiberty.a. (ghazi@caip.rutgers.edu 6/3/98) */
-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 */