rs6000.c (rs6000_emit_epilogue): Fix typo in code setting up r11 for out-of-line...
authorAlan Modra <amodra@gmail.com>
Fri, 13 Feb 2015 00:21:39 +0000 (10:51 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 13 Feb 2015 00:21:39 +0000 (10:51 +1030)
* config/rs6000/rs6000.c (rs6000_emit_epilogue): Fix typo in
code setting up r11 for out-of-line fp restore.

From-SVN: r220672

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 5c68c81467ff39828eade1fc514e1dec39f58260..6653131c7008de5fc4643ba8a2960d0736717c90 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-13  Alan Modra  <amodra@gmail.com>
+
+       * 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  <ebotcazou@adacore.com>
 
        * config/visium/visium.opt (msv-mode): Add RejectNegative and Report.
index 4214262e5dce16cc351a23d07497a14284165893..86ef0fe0fc61316a9bd9a688a6aa03b86f806462 100644 (file)
@@ -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)