The following patch fixes

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60298

The patch was successfully bootstrapped on x86/x86-64.

Committed as rev. 208023.

2014-02-21  Vladimir Makarov  <vmaka...@redhat.com>

        PR target/60298
        * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
        instead of emit_move_insn.
Index: lra-constraints.c
===================================================================
--- lra-constraints.c   (revision 207787)
+++ lra-constraints.c   (working copy)
@@ -4473,9 +4473,9 @@ inherit_reload_reg (bool def_p, int orig
                                rclass, "inheritance");
   start_sequence ();
   if (def_p)
-    emit_move_insn (original_reg, new_reg);
+    lra_emit_move (original_reg, new_reg);
   else
-    emit_move_insn (new_reg, original_reg);
+    lra_emit_move (new_reg, original_reg);
   new_insns = get_insns ();
   end_sequence ();
   if (NEXT_INSN (new_insns) != NULL_RTX)

Reply via email to