(assign_outer_stack_local): Align proper frame offset.

From-SVN: r2862
This commit is contained in:
Richard Kenner 1992-12-11 07:18:03 -05:00
parent 008d7af28d
commit 2af69b62de
1 changed files with 2 additions and 2 deletions

View 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,