diff options
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 2226912..3420e22 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2709,7 +2709,7 @@ decode_addr_const (tree exp, struct addr_const *value) while (1) { if (TREE_CODE (target) == COMPONENT_REF - && host_integerp (byte_position (TREE_OPERAND (target, 1)), 0)) + && tree_fits_shwi_p (byte_position (TREE_OPERAND (target, 1)))) { offset += int_byte_position (TREE_OPERAND (target, 1)); target = TREE_OPERAND (target, 0); |