From f79322f009eae6df119616d01293e878b5d1418e Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 3 Feb 1993 23:23:22 +0000 Subject: [PATCH] (init_objc): Use xrealoc, not realloc. From-SVN: r3419 --- gcc/objc/objc-act.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 3c9b9bb671a..908b10d28ef 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -4929,14 +4929,14 @@ init_objc () util_firstobj = (char *) obstack_finish (&util_obstack); tree_code_type - = (char **) realloc (tree_code_type, - sizeof (char *) * LAST_OBJC_TREE_CODE); + = (char **) xrealloc (tree_code_type, + sizeof (char *) * LAST_OBJC_TREE_CODE); tree_code_length - = (int *) realloc (tree_code_length, - sizeof (int) * LAST_OBJC_TREE_CODE); + = (int *) xrealloc (tree_code_length, + sizeof (int) * LAST_OBJC_TREE_CODE); tree_code_name - = (char **) realloc (tree_code_name, - sizeof (char *) * LAST_OBJC_TREE_CODE); + = (char **) xrealloc (tree_code_name, + sizeof (char *) * LAST_OBJC_TREE_CODE); bcopy (objc_tree_code_type, tree_code_type + (int) LAST_AND_UNUSED_TREE_CODE, (((int) LAST_OBJC_TREE_CODE - (int) LAST_AND_UNUSED_TREE_CODE) -- 2.30.2