diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-11-10 16:01:28 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-11-10 16:01:28 +0000 |
commit | 4e135bdd14d2035632e78008730027c4ef82aa7a (patch) | |
tree | 68435e3b6993def5a09b074a86c8ea186b6e21e6 /gcc/emit-rtl.c | |
parent | c8abeb44a58ac3dbf2caf9329a2f5d114a5849b9 (diff) | |
download | gcc-4e135bdd14d2035632e78008730027c4ef82aa7a.tar.gz |
alpha.c (check_float_value): Use memcpy, not bcopy.
* alpha.c (check_float_value): Use memcpy, not bcopy.
* arm.c (output_move_double): Likewise.
* arm.md: Likewise.
* m88k.c (legitimize_operand): Likewise.
* m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
* m88k.md: Likewise.
* mips.c (override_options): Likewise.
* mips.md: Likewise.
* romp.c (output_fpops): Likewise.
* rs6000.c (rs6000_override_options): Likewise.
* sh.md: Likewise.
* vax.c (check_float_value): Likewise.
* emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
* expmed.c (synth_mult): Likewise.
* final.c (add_bb_string): Likewise.
* genattr.c (main): Likewise.
* genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
Likewise.
* jump.c (thread_jumps): Likewise.
* prefix.c (save_string): Likewise.
* real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
* regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
* reload1.c (reload, eliminate_regs): Likewise.
cp:
* decl.c (grokdeclarator, save_function_data): Use memcpy, not bcopy.
* lex.c (copy_lang_decl): Likewise.
java:
* decl.c (copy_lang_decl): Use memcpy, not bcopy.
* jcf-parse.c (jcf_figure_file_type): Likewise.
From-SVN: r37367
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index c73b346fe5b..db1c73fc936 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -1904,7 +1904,7 @@ copy_rtx_if_shared (orig) register rtx copy; copy = rtx_alloc (code); - bcopy ((char *) x, (char *) copy, + memcpy (copy, x, (sizeof (*copy) - sizeof (copy->fld) + sizeof (copy->fld[0]) * GET_RTX_LENGTH (code))); x = copy; @@ -4109,7 +4109,7 @@ init_emit_once (line_numbers) memset ((char *) &u, 0, sizeof u); /* Zero any holes in a structure. */ u.d = i == 0 ? dconst0 : i == 1 ? dconst1 : dconst2; - bcopy ((char *) &u, (char *) &CONST_DOUBLE_LOW (tem), sizeof u); + memcpy (&CONST_DOUBLE_LOW (tem), &u, sizeof u); CONST_DOUBLE_MEM (tem) = cc0_rtx; CONST_DOUBLE_CHAIN (tem) = NULL_RTX; PUT_MODE (tem, mode); |