* sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
on the insn being emitted.
From-SVN: r207420
+2014-02-03 Andrey Belevantsev <abel@ispras.ru>
+
+ * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
+ on the insn being emitted.
+
2014-02-03 James Greenhalgh <james.greenhalgh@arm.com>
Will Deacon <will.deacon@arm.com>
emit_expr = set_insn_init (expr, vinsn ? vinsn : EXPR_VINSN (expr),
seqno);
insn = EXPR_INSN_RTX (emit_expr);
+
+ /* The insn may come from the transformation cache, which may hold already
+ deleted insns, so mark it as not deleted. */
+ INSN_DELETED_P (insn) = 0;
+
add_insn_after (insn, after, BLOCK_FOR_INSN (insn));
flags = INSN_INIT_TODO_SSID;