aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2012-12-19 13:16:56 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2012-12-19 13:16:56 +0100
commite90c56c6b2a90e0a0d1a97a0238da0b4cd5b563d (patch)
tree3e5bc702a707a5970dfee20b5b6e325902808a70 /gcc/dwarf2out.c
parentda942ca0e2814f1f7420e508e80d9939cf799390 (diff)
downloadgcc-e90c56c6b2a90e0a0d1a97a0238da0b4cd5b563d.zip
gcc-e90c56c6b2a90e0a0d1a97a0238da0b4cd5b563d.tar.gz
gcc-e90c56c6b2a90e0a0d1a97a0238da0b4cd5b563d.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c1
1 files changed, 1 insertions, 0 deletions
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. */