From f4ce9d906750bad87642454a1cbf8a1b2c2261b0 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 10 Mar 2001 04:20:03 +0000 Subject: 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 --- gcc/gengenrtl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gengenrtl.c') diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c index 707173f..b04d081 100644 --- a/gcc/gengenrtl.c +++ b/gcc/gengenrtl.c @@ -389,7 +389,7 @@ PTR xmalloc (nbytes) size_t nbytes; { - register PTR tmp = (PTR) malloc (nbytes); + register PTR tmp = (PTR) really_call_malloc (nbytes); if (!tmp) { -- cgit v1.1