From 2af69b62de170f81459946c0fe464fc153febecb Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 11 Dec 1992 07:18:03 -0500 Subject: [PATCH] (assign_outer_stack_local): Align proper frame offset. From-SVN: r2862 --- gcc/function.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.30.2