summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorjfc <jfc@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-01 16:47:41 +0000
committerjfc <jfc@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-01 16:47:41 +0000
commit33685f56cd53281fb097a7b47ae866dd2b529c41 (patch)
treed9bf3be339a2978253909ce15a9dede99fd49e66 /gcc/flow.c
parenta821813a77e293802b6aab756a37a69d5be25125 (diff)
downloadgcc-33685f56cd53281fb097a7b47ae866dd2b529c41.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22717 138bc75d-0d04-0410-961f-82ee72b054a4
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 e939d198465..f963c107c71 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. */