From: Richard Kenner Date: Fri, 11 Dec 1992 12:18:03 +0000 (-0500) Subject: (assign_outer_stack_local): Align proper frame offset. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2af69b62de170f81459946c0fe464fc153febecb;p=gcc.git (assign_outer_stack_local): Align proper frame offset. From-SVN: r2862 --- diff --git a/gcc/function.c b/gcc/function.c index a138ee332b9..d5ea00b179b 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -638,9 +638,9 @@ assign_outer_stack_local (mode, size, align, function) /* Round frame offset to that alignment. */ #ifdef FRAME_GROWS_DOWNWARD - frame_offset = FLOOR_ROUND (frame_offset, alignment); + function->frame_offset = FLOOR_ROUND (function->frame_offset, alignment); #else - frame_offset = CEIL_ROUND (frame_offset, alignment); + function->frame_offset = CEIL_ROUND (function->frame_offset, alignment); #endif /* On a big-endian machine, if we are allocating more space than we will use,