diff options
author | Jeff Law <law@gcc.gnu.org> | 1996-03-07 08:38:43 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1996-03-07 08:38:43 -0700 |
commit | 99561ab6ee54239ef7e435ab7c2ffc7c2f2313a9 (patch) | |
tree | 7e3d82abec18d88a752a3686ec216e1801e32e0f /gcc/config/pa/pa.c | |
parent | 077fbf9ea312285e106f97aefa3fe94b66cb6a46 (diff) | |
download | gcc-99561ab6ee54239ef7e435ab7c2ffc7c2f2313a9.zip gcc-99561ab6ee54239ef7e435ab7c2ffc7c2f2313a9.tar.gz gcc-99561ab6ee54239ef7e435ab7c2ffc7c2f2313a9.tar.bz2 |
cd config/pa
* pa.c: Fix misc small typos/thinkos in recent changes.
From-SVN: r11489
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r-- | gcc/config/pa/pa.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 679716d..dadcf34 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -2068,7 +2068,7 @@ compute_frame_size (size, fregs_live) if (fregs_live) *fregs_live = 1; - fsize += 4 * (i = 46); + fsize += 4 * (i - 46); break; } @@ -2422,6 +2422,7 @@ hppa_expand_prologue() /* Floating point register store. */ if (save_fregs) { + int found_one = 0; /* First get the frame or stack pointer to the start of the FP register save area. */ @@ -2433,7 +2434,6 @@ hppa_expand_prologue() /* Now actually save the FP registers. */ for (i = 66; i >= 48; i -= 2) { - int found_one = 0; if (regs_ever_live[i] || regs_ever_live[i + 1] || found_one) { @@ -2599,9 +2599,9 @@ hppa_expand_epilogue () } else { + int found_one = 0; for (i = 18, offset = local_fsize - actual_fsize; i >= 3; i--) { - int found_one = 0; if (regs_ever_live[i] && ! call_used_regs[i] || found_one) { @@ -2626,6 +2626,8 @@ hppa_expand_epilogue () /* FP register restores. */ if (save_fregs) { + int found_one = 0; + /* Adjust the register to index off of. */ if (frame_pointer_needed) set_reg_plus_d (1, FRAME_POINTER_REGNUM, offset); @@ -2635,7 +2637,6 @@ hppa_expand_epilogue () /* Actually do the restores now. */ for (i = 66; i >= 48; i -= 2) { - int found_one = 0; if (regs_ever_live[i] || regs_ever_live[i + 1]) { found_one = 1; |