diff mbox

patch fixing a typo in LRA

Message ID 54D5190E.6070605@redhat.com
State New
Headers show

Commit Message

Vladimir Makarov Feb. 6, 2015, 7:42 p.m. UTC
The following patch fixes a typo discovered recently:

https://gcc.gnu.org/ml/gcc/2015-02/msg00040.html

   The patch was bootstrapped and tested on x86/x86-64.

    Committed as rev.220488.

2015-02-06  Vladimir Makarov  <vmakarov@redhat.com>

         * lra.c (lra_emit_add): Fix a typo in using disp instead of base.
diff mbox

Patch

Index: lra.c
===================================================================
--- lra.c       (revision 220482)
+++ lra.c       (working copy)
@@ -475,7 +475,7 @@  lra_emit_add (rtx x, rtx y, rtx z)
                   rtx insn = emit_add2_insn (x, disp);
                   if (insn != NULL_RTX)
                     {
-                     insn = emit_add2_insn (x, disp);
+                     insn = emit_add2_insn (x, base);
                       if (insn != NULL_RTX)
                         ok_p = true;
                     }