(assign_outer_stack_local): Align proper frame offset.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 11 Dec 1992 12:18:03 +0000 (07:18 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 11 Dec 1992 12:18:03 +0000 (07:18 -0500)
From-SVN: r2862

gcc/function.c

index a138ee332b94273decf0ac18f6f6da0d964e7909..d5ea00b179bfbf869491bb1db607230cb73576c8 100644 (file)
@@ -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,