aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-07-16 22:40:39 +0000
committerJeff Law <law@gcc.gnu.org>1999-07-16 16:40:39 -0600
commitb3292eb0cf447375176fefe1b1946b78fa6c5ae2 (patch)
tree3fa5dee4f87eb39c419318116729f81d2e467830
parentcb16fe9f9bbf3605df9d0de1d0c6158e7a6c70a0 (diff)
downloadgcc-b3292eb0cf447375176fefe1b1946b78fa6c5ae2.zip
gcc-b3292eb0cf447375176fefe1b1946b78fa6c5ae2.tar.gz
gcc-b3292eb0cf447375176fefe1b1946b78fa6c5ae2.tar.bz2
pa.c (compute_frame_size): Round frame according to STACK_BOUNDARY rather than a hardwired value.
* pa.c (compute_frame_size): Round frame according to STACK_BOUNDARY rather than a hardwired value. From-SVN: r28132
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/pa/pa.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e269953..882aadb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
+ * pa.c (compute_frame_size): Round frame according to
+ STACK_BOUNDARY rather than a hardwired value.
+
* pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
* configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index ec76b52..af942f9 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -2579,7 +2579,7 @@ compute_frame_size (size, fregs_live)
fsize += current_function_outgoing_args_size;
if (! leaf_function_p () || fsize)
fsize += 32;
- return (fsize + 63) & ~63;
+ return (fsize + STACK_BOUNDARY - 1) & ~(STACK_BOUNDARY - 1);
}
rtx hp_profile_label_rtx;