From: rms Date: Wed, 3 Feb 1993 23:23:22 +0000 (+0000) Subject: (init_objc): Use xrealoc, not realloc. X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=b0754ae624c849dcdff92a0dc1948478a07252a4;p=pf3gnuchains%2Fgcc-fork.git (init_objc): Use xrealoc, not realloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3419 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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)