From b3292eb0cf447375176fefe1b1946b78fa6c5ae2 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Fri, 16 Jul 1999 22:40:39 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/pa/pa.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e269953ba25..882aadb5e25 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 ec76b524875..af942f9a151 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; -- 2.30.2