summaryrefslogtreecommitdiff
path: root/gcc/gencheck.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-03-10 04:20:03 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-03-10 04:20:03 +0000
commitf4ce9d906750bad87642454a1cbf8a1b2c2261b0 (patch)
tree9c3fac38ed4b4a8e389d091650ec0193e59385b9 /gcc/gencheck.c
parent0eac29848b3a5bee12b6f8ae6c64c82a9c0f61b1 (diff)
server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of malloc, realloc & calloc.
* fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of malloc, realloc & calloc. * gencheck.c (xmalloc): Use really_call_malloc, not malloc. * gengenrtl.c (xmalloc): Likewise. * gensupport.c (xcalloc, xrealloc, xmalloc): Use the really_call_* memory allocation routines. * stmt.c (check_for_full_enumeration_handling): Use really_call_calloc, not calloc. * system.h (really_call_malloc, really_call_calloc, really_call_realloc): Define. (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison. f: * fini.c (main): Use really_call_malloc, not malloc. From-SVN: r40360
Diffstat (limited to 'gcc/gencheck.c')
-rw-r--r--gcc/gencheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gencheck.c b/gcc/gencheck.c
index 12cc03823a0..df6238bcf96 100644
--- a/gcc/gencheck.c
+++ b/gcc/gencheck.c
@@ -75,7 +75,7 @@ PTR
xmalloc (nbytes)
size_t nbytes;
{
- register PTR tmp = (PTR) malloc (nbytes);
+ register PTR tmp = (PTR) really_call_malloc (nbytes);
if (!tmp)
{