This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch fixing a typo in LRA
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 06 Feb 2015 14:42:06 -0500
- Subject: patch fixing a typo in LRA
- Authentication-results: sourceware.org; auth=none
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;
}