diff options
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index ec9b406..81c95ec 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -17482,7 +17482,7 @@ loc_list_from_tree_1 (tree loc, int want_address, && (INTEGRAL_TYPE_P (TREE_TYPE (loc)) || POINTER_TYPE_P (TREE_TYPE (loc))) && DECL_CONTEXT (loc) == current_function_decl - && (GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (loc))) + && (GET_MODE_SIZE (SCALAR_INT_TYPE_MODE (TREE_TYPE (loc))) <= DWARF2_ADDR_SIZE)) { dw_die_ref ref = lookup_decl_die (loc); |