summaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-02 17:15:35 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-02 17:15:35 +0000
commit0f9736f3c549220f6c86d4c66d4405496aefc430 (patch)
tree12b97c3fae907796754cdf777a549715f8143d12 /gcc/haifa-sched.c
parent3802587e248dbaba7ce3ffd54a924a3fc41f2d0b (diff)
downloadgcc-0f9736f3c549220f6c86d4c66d4405496aefc430.tar.gz
PR target/31684
* haifa-sched.c (add_to_speculative_block): Change copy_rtx to copy_insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126216 138bc75d-0d04-0410-961f-82ee72b054a4
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),