aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-12-11 07:18:03 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1992-12-11 07:18:03 -0500
commit2af69b62de170f81459946c0fe464fc153febecb (patch)
tree16cd5470bf64c627511e237d13bfac9c41f6262a
parent008d7af28d7df4aace9bae995d2ff7a3aa058df2 (diff)
downloadgcc-2af69b62de170f81459946c0fe464fc153febecb.zip
gcc-2af69b62de170f81459946c0fe464fc153febecb.tar.gz
gcc-2af69b62de170f81459946c0fe464fc153febecb.tar.bz2
(assign_outer_stack_local): Align proper frame offset.
From-SVN: r2862
-rw-r--r--gcc/function.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index a138ee3..d5ea00b 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,