From 47c95bff6b78a2f8e632714172f1ba004d449cca Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sat, 3 Nov 2007 17:50:20 +0000 Subject: [PATCH] re PR debug/33921 (FAIL: gcc.dg/debug/debug-6.c -gdwarf-2 -O scan-assembler xyzzy) PR debug/33921 * reorg.c (emit_delay_sequence): Do not clear the locator on the jump instruction. From-SVN: r129872 --- gcc/ChangeLog | 6 ++++++ gcc/reorg.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f1b10a1075..c78cf43c3e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-11-03 Daniel Jacobowitz + + PR debug/33921 + * reorg.c (emit_delay_sequence): Do not clear the locator on + the jump instruction. + 2007-11-03 Jakub Jelinek PR middle-end/33670 diff --git a/gcc/reorg.c b/gcc/reorg.c index eccf40b5e61..51acaa3d2af 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -513,7 +513,6 @@ emit_delay_sequence (rtx insn, rtx list, int length) PREV_INSN (delay_insn) = PREV_INSN (seq_insn); INSN_LOCATOR (seq_insn) = INSN_LOCATOR (delay_insn); - INSN_LOCATOR (delay_insn) = 0; for (li = list; li; li = XEXP (li, 1), i++) {