summaryrefslogtreecommitdiff
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
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/haifa-sched.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1d07713ad25..57fd23ccc04 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-02 Steve Ellcey <sje@cup.hp.com>
+ Jim Wilson <wilson@specifix.com>
+
+ PR target/31684
+ * haifa-sched.c (add_to_speculative_block): Change copy_rtx to
+ copy_insn.
+
2007-07-02 Sandra Loosemore <sandra@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
Nigel Stephens <nigel@mips.com>
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),