From 87926b4bcc3046ac85fabda09178e9bf50dd8381 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 13 Feb 2016 02:16:07 -0800 Subject: remove use of strings.h --- gcc/resource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/resource.c') diff --git a/gcc/resource.c b/gcc/resource.c index c76e253..3231f0e 100755 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -1146,11 +1146,11 @@ init_resource_info (epilogue_insn) target_hash_table = (struct target_info **) xmalloc ((TARGET_HASH_PRIME * sizeof (struct target_info *))); - bzero ((char *) target_hash_table, + zero_memory ((char *) target_hash_table, TARGET_HASH_PRIME * sizeof (struct target_info *)); bb_ticks = (int *) xmalloc (n_basic_blocks * sizeof (int)); - bzero ((char *) bb_ticks, n_basic_blocks * sizeof (int)); + zero_memory ((char *) bb_ticks, n_basic_blocks * sizeof (int)); } /* Free up the resources allcated to mark_target_live_regs (). This -- cgit v1.2.3