diff options
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r-- | gcc/gimple-fold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c index 33eae3e..ae2c9a1 100644 --- a/gcc/gimple-fold.c +++ b/gcc/gimple-fold.c @@ -6346,7 +6346,7 @@ get_base_constructor (tree base, poly_int64_pod *bit_offset, { if (!tree_fits_shwi_p (TREE_OPERAND (base, 1))) return NULL_TREE; - *bit_offset += (mem_ref_offset (base).to_short_addr () + *bit_offset += (mem_ref_offset (base).force_shwi () * BITS_PER_UNIT); } |