PR target/31684
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2007 17:15:35 +0000 (17:15 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jul 2007 17:15:35 +0000 (17:15 +0000)
* 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

gcc/ChangeLog
gcc/haifa-sched.c

index 1d07713..57fd23c 100644 (file)
@@ -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>
index bf017e8..809d934 100644 (file)
@@ -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),