Message ID | BANLkTinU_1JzzZhm-ZkUr7xwuCo+VrhjsQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
OK. Jason
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 026e4a7..049ca8e 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -13892,7 +13892,11 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode, break; if (GET_MODE_CLASS (mode) == MODE_INT && GET_MODE_CLASS (GET_MODE (SUBREG_REG (rtl))) == MODE_INT - && GET_MODE_SIZE (mode) <= DWARF2_ADDR_SIZE + && (GET_MODE_SIZE (mode) <= DWARF2_ADDR_SIZE +#ifdef POINTERS_EXTEND_UNSIGNED + || (mode == Pmode && mem_mode != VOIDmode) +#endif + ) && GET_MODE_SIZE (GET_MODE (SUBREG_REG (rtl))) <= DWARF2_ADDR_SIZE) { mem_loc_result = mem_loc_descriptor (SUBREG_REG (rtl),