summaryrefslogtreecommitdiff
path: root/gcc/lra.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lra.c')
-rw-r--r--gcc/lra.c2
1 files changed, 1 insertions, 1 deletions
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;
}