This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch fixing a typo in LRA


  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.

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;
                    }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]