aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index e1f16fe..1748cc4 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -10926,7 +10926,7 @@ address_of_int_loc_descriptor (int size, HOST_WIDE_INT i)
+ 1 (mode size)
and for DW_OP_implicit_value:
1 (DW_OP_implicit_value) + 1 (length) + mode_size. */
- if (DWARF2_ADDR_SIZE >= size
+ if ((int) DWARF2_ADDR_SIZE >= size
&& litsize + 1 + 1 + 1 < 1 + 1 + size)
{
loc_result = int_loc_descriptor (i);