summaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index bf017e88495..809d93417df 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -3358,7 +3358,7 @@ add_to_speculative_block (rtx insn)
rec = BLOCK_FOR_INSN (check);
- twin = emit_insn_before (copy_rtx (PATTERN (insn)), BB_END (rec));
+ twin = emit_insn_before (copy_insn (PATTERN (insn)), BB_END (rec));
extend_global (twin);
copy_deps_list_change_con (INSN_RESOLVED_BACK_DEPS (twin),