From 2e09e75ade29bde9224eea1629ed0091f74e7a08 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 9 Nov 2000 07:45:15 +0000 Subject: calls.c (expand_call, [...]): Use memcpy () instead of bcopy (). * calls.c (expand_call, emit_library_call_value_1), collect2.c (scan_prog_file), config/a29k/a29k.c (print_operand), config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy () instead of bcopy (). * real.h: Use memcmp () instead of bcmp (). * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c (split_branches), config/sparc/sparc.c (ultra_flush_pipeline, ultrasparc_sched_init, ultrasparc_sched_reorder), config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset () instead of bzero (). * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr () instead of rindex (). * configure.in: Don't check for bzero, bcmp, index or rindex. * configure, config.in: Regenerate. * system.h: Don't include declarations for bzero, bcmp, index or rindex. * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define bzero, bcmp, index or rindex. java: * parse.y (create_new_parser_context): Use memset () instead of bzero (). From-SVN: r37334 --- gcc/config/sh/sh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/sh/sh.c') diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 74d365b..4a03dd8 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -3381,7 +3381,7 @@ split_branches (first) shorten_branches (first); uid_branch = (struct far_branch **) alloca (max_uid * sizeof *uid_branch); - bzero ((char *) uid_branch, max_uid * sizeof *uid_branch); + memset ((char *) uid_branch, 0, max_uid * sizeof *uid_branch); for (insn = first; insn; insn = NEXT_INSN (insn)) if (! INSN_P (insn)) -- cgit v1.1