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 + + * lra.c (lra_emit_add): Fix a typo in using disp instead of base. + 2015-02-06 Michael Meissner 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; }