aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1998-10-01 16:47:41 +0000
committerJohn Carr <jfc@gcc.gnu.org>1998-10-01 16:47:41 +0000
commit913f68c116b7a079fb33937f5aaa927ccd1fbab0 (patch)
treed9bf3be339a2978253909ce15a9dede99fd49e66 /gcc/flow.c
parent3ce1534782482f0885a330a6b0aad2f84c80b135 (diff)
downloadgcc-913f68c116b7a079fb33937f5aaa927ccd1fbab0.zip
gcc-913f68c116b7a079fb33937f5aaa927ccd1fbab0.tar.gz
gcc-913f68c116b7a079fb33937f5aaa927ccd1fbab0.tar.bz2
dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size ranges.
* dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work with more than three size ranges. * flow.c (sbitmap_copy): Use bcopy to copy bitmap. * rtl.c (mode_name): Add a null string at the end of the array. (mode_wider_mode): Change type to unsigned char. (mode_mask_array): New variable. (init_rtl): Update for mode_wider_mode type change. * rtl.h (mode_wider_mode): Change type to unsigned char. (mode_mask_array): Declare. (GET_MODE_MASK): Use mode_mask_array. From-SVN: r22717
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index e939d19..f963c10 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -3605,13 +3605,7 @@ void
sbitmap_copy (dst, src)
sbitmap dst, src;
{
- int i;
- sbitmap_ptr d,s;
-
- s = src->elms;
- d = dst->elms;
- for (i = 0; i < dst->size; i++)
- *d++ = *s++;
+ bcopy (src->elms, dst->elms, sizeof (SBITMAP_ELT_TYPE) * dst->size);
}
/* Zero all elements in a bitmap. */