aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index acb2cc4..6c55da6 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -1271,7 +1271,7 @@ get_addr_base_and_unit_offset_1 (tree exp, HOST_WIDE_INT *poffset,
{
double_int off = mem_ref_offset (exp);
gcc_assert (off.high == -1 || off.high == 0);
- byte_offset += double_int_to_shwi (off);
+ byte_offset += off.to_shwi ();
}
exp = TREE_OPERAND (base, 0);
}
@@ -1294,7 +1294,7 @@ get_addr_base_and_unit_offset_1 (tree exp, HOST_WIDE_INT *poffset,
{
double_int off = mem_ref_offset (exp);
gcc_assert (off.high == -1 || off.high == 0);
- byte_offset += double_int_to_shwi (off);
+ byte_offset += off.to_shwi ();
}
exp = TREE_OPERAND (base, 0);
}