diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-11-09 07:45:15 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2000-11-09 07:45:15 +0000 |
commit | 2e09e75ade29bde9224eea1629ed0091f74e7a08 (patch) | |
tree | a19a7f9c7c509696e4e2ed16a5ea0eeff9cc070d /gcc/calls.c | |
parent | 03fb4780dfb30b188eba1631ef4ab92112c8f4e1 (diff) | |
download | gcc-2e09e75ade29bde9224eea1629ed0091f74e7a08.zip gcc-2e09e75ade29bde9224eea1629ed0091f74e7a08.tar.gz gcc-2e09e75ade29bde9224eea1629ed0091f74e7a08.tar.bz2 |
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
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index ec0ad09..14c10b0 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2782,8 +2782,8 @@ expand_call (exp, target, ignore) = (char *) alloca (highest_outgoing_arg_in_use); if (initial_highest_arg_in_use) - bcopy (initial_stack_usage_map, stack_usage_map, - initial_highest_arg_in_use); + memcpy (stack_usage_map, initial_stack_usage_map, + initial_highest_arg_in_use); if (initial_highest_arg_in_use != highest_outgoing_arg_in_use) memset (&stack_usage_map[initial_highest_arg_in_use], 0, @@ -3766,8 +3766,8 @@ emit_library_call_value_1 (retval, orgfun, value, fn_type, outmode, nargs, p) stack_usage_map = (char *) alloca (highest_outgoing_arg_in_use); if (initial_highest_arg_in_use) - bcopy (initial_stack_usage_map, stack_usage_map, - initial_highest_arg_in_use); + memcpy (stack_usage_map, initial_stack_usage_map, + initial_highest_arg_in_use); if (initial_highest_arg_in_use != highest_outgoing_arg_in_use) memset (&stack_usage_map[initial_highest_arg_in_use], 0, |