From: Alan Modra Date: Fri, 13 Feb 2015 00:21:39 +0000 (+1030) Subject: rs6000.c (rs6000_emit_epilogue): Fix typo in code setting up r11 for out-of-line... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f2fa78afff17e19c36048a1424848bfd493551f;p=gcc.git rs6000.c (rs6000_emit_epilogue): Fix typo in code setting up r11 for out-of-line fp restore. * config/rs6000/rs6000.c (rs6000_emit_epilogue): Fix typo in code setting up r11 for out-of-line fp restore. From-SVN: r220672 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c68c81467f..6653131c700 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-13 Alan Modra + + * config/rs6000/rs6000.c (rs6000_emit_epilogue): Fix typo in + code setting up r11 for out-of-line fp restore. + 2015-02-12 Eric Botcazou * config/visium/visium.opt (msv-mode): Add RejectNegative and Report. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 4214262e5dc..86ef0fe0fc6 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -24966,7 +24966,7 @@ rs6000_emit_epilogue (int sibcall) bool lr = !(strategy & REST_NOINLINE_FPRS_DOESNT_RESTORE_LR); int sel = SAVRES_FPR | (lr ? SAVRES_LR : 0); newptr_regno = ptr_regno_for_savres (sel); - end_save = info->gp_save_offset + info->gp_size; + end_save = info->fp_save_offset + info->fp_size; } if (newptr_regno != 1 && REGNO (frame_reg_rtx) != newptr_regno)