From 370ae5992fa38d0161157ce8b237174d220054bf Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 21 Jul 2010 10:50:57 +0200 Subject: re PR debug/45003 (VTA issues with sign/zero extension and debug temporaries) PR debug/45003 * var-tracking.c (reverse_op): Also handle {SIGN,ZERO}_EXTEND of a MEM. * dwarf2out.c (loc_descriptor): Don't handle SIGN_EXTEND nor ZERO_EXTEND here. * gcc.dg/guality/pr45003-2.c: New test. * gcc.dg/guality/pr45003-3.c: New test. From-SVN: r162364 --- gcc/dwarf2out.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gcc/dwarf2out.c') diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 385d5da..ce35c91 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -14254,11 +14254,6 @@ loc_descriptor (rtx rtl, enum machine_mode mode, loc_result = reg_loc_descriptor (rtl, initialized); break; - case SIGN_EXTEND: - case ZERO_EXTEND: - loc_result = loc_descriptor (XEXP (rtl, 0), mode, initialized); - break; - case MEM: loc_result = mem_loc_descriptor (XEXP (rtl, 0), GET_MODE (rtl), initialized); -- cgit v1.1