summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-06 19:40:45 +0000
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-06 19:40:45 +0000
commitee61ca2e4d7eba9f9d6e9b7599005921822f7bcf (patch)
tree6e56384163d7fc22b20973adf27d205b4ebeaf47 /gcc
parenta49a5a568c7aefb816b03560ed125c05f4d8c064 (diff)
downloadgcc-ee61ca2e4d7eba9f9d6e9b7599005921822f7bcf.tar.gz
2015-02-06 Vladimir Makarov <vmakarov@redhat.com>
* lra.c (lra_emit_add): Fix a typo in using disp instead of base. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220488 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/lra.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7b9d630b85d..9af837b4c5d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-06 Vladimir Makarov <vmakarov@redhat.com>
+
+ * lra.c (lra_emit_add): Fix a typo in using disp instead of base.
+
2015-02-06 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/64205
diff --git a/gcc/lra.c b/gcc/lra.c
index bc6723db242..abe0c334b32 100644
--- a/gcc/lra.c
+++ b/gcc/lra.c
@@ -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;
}