From e90c56c6b2a90e0a0d1a97a0238da0b4cd5b563d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 19 Dec 2012 13:16:56 +0100 Subject: re PR debug/55730 (ICE in mem_loc_descriptor, at dwarf2out.c:12725) PR debug/55730 * dwarf2out.c (mem_loc_descriptor): Ignore CLOBBER. * valtrack.c (gen_lowpart_for_debug): New function. (propagate_for_debug): Temporarily set rtl_hooks.gen_lowpart_no_emit to gen_lowpart_for_debug. * gcc.dg/debug/pr55730.c: New test. From-SVN: r194607 --- gcc/dwarf2out.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/dwarf2out.c') diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index a284eed..a865250 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -12714,6 +12714,7 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode, case CONST_VECTOR: case CONST_FIXED: case CLRSB: + case CLOBBER: /* If delegitimize_address couldn't do anything with the UNSPEC, we can't express it in the debug info. This can happen e.g. with some TLS UNSPECs. */ -- cgit v1.1