diff mbox

patch to fix PR60298

Message ID 5307C442.2060400@redhat.com
State New
Headers show

Commit Message

Vladimir Makarov Feb. 21, 2014, 9:25 p.m. UTC
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  <vmakarov@redhat.com>

         PR target/60298
         * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
         instead of emit_move_insn.
diff mbox

Patch

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)