diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-03-26 16:59:23 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-03-26 16:59:23 +0000 |
commit | d38a30c995c5d7abf7112f68c56a6f70d1e94019 (patch) | |
tree | 4e43f480ff38b940c69fd4080f409f62252f2d57 /gcc/genattrtab.c | |
parent | cc2e591b48e51df008d4e09d1f67f1195f8cbeb5 (diff) | |
download | gcc-d38a30c995c5d7abf7112f68c56a6f70d1e94019.zip gcc-d38a30c995c5d7abf7112f68c56a6f70d1e94019.tar.gz gcc-d38a30c995c5d7abf7112f68c56a6f70d1e94019.tar.bz2 |
combine.c (try_combine): Use memcpy, not bcopy.
* combine.c (try_combine): Use memcpy, not bcopy.
* genattrtab.c (expand_units): Likewise.
From-SVN: r40849
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index aecd27c..b749e97 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -2010,8 +2010,8 @@ expand_units () * sizeof (struct function_unit_op *)); for (unit = units, i = 0; unit; i += unit->num_opclasses, unit = unit->next) - bcopy ((char *) unit_ops[unit->num], (char *) &op_array[i], - unit->num_opclasses * sizeof (struct function_unit_op *)); + memcpy (&op_array[i], unit_ops[unit->num], + unit->num_opclasses * sizeof (struct function_unit_op *)); /* Compute the ready cost function for each unit by computing the condition for each non-default value. */ |