aboutsummaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2007-10-26 12:19:34 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2007-10-26 12:19:34 +0000
commit90a1c3cea354cc8dc8969859f787902297b71d46 (patch)
tree14353d8c6d6b07579baee0bb1735918ad8306813 /gcc/reorg.c
parent0f1e332126d1a3bc3c6048bad324049b9f423020 (diff)
downloadgcc-90a1c3cea354cc8dc8969859f787902297b71d46.zip
gcc-90a1c3cea354cc8dc8969859f787902297b71d46.tar.gz
gcc-90a1c3cea354cc8dc8969859f787902297b71d46.tar.bz2
reorg.c (emit_delay_sequence): Move insn locator from the first insn to the sequence.
* reorg.c (emit_delay_sequence): Move insn locator from the first insn to the sequence. From-SVN: r129651
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 291e1aa..eccf40b 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -512,6 +512,9 @@ emit_delay_sequence (rtx insn, rtx list, int length)
INSN_DELETED_P (delay_insn) = 0;
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++)
{
rtx tem = XEXP (li, 0);