function.c (assign_stack_local_1): Allocate from function->x_frame_offset, not frame_offset.

* function.c (assign_stack_local_1): Allocate from
        function->x_frame_offset, not frame_offset.

From-SVN: r29248
This commit is contained in:
Richard Henderson 1999-09-09 16:04:12 -07:00 committed by Richard Henderson
parent f00caf7903
commit 3b71623bf3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
* function.c (assign_stack_local_1): Allocate from
function->x_frame_offset, not frame_offset.
Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
* ggc.h (lang_cleanup_tree): Remove.

View File

@ -518,7 +518,7 @@ assign_stack_local_1 (mode, size, align, function)
+ STARTING_FRAME_OFFSET));
else
addr = plus_constant (virtual_stack_vars_rtx,
frame_offset + bigend_correction);
function->x_frame_offset + bigend_correction);
#ifndef FRAME_GROWS_DOWNWARD
function->x_frame_offset += size;