diff options
author | Richard Henderson <rth@cygnus.com> | 1999-09-09 16:04:12 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-09-09 16:04:12 -0700 |
commit | 3b71623bf39b0934ee76d0223130de7dd6a44509 (patch) | |
tree | 03dc204e66fe6a9c05285e28d2cb463833bc65f9 | |
parent | f00caf7903f1d9fff1d1f66560a353dd21e1c199 (diff) | |
download | gcc-3b71623bf39b0934ee76d0223130de7dd6a44509.zip gcc-3b71623bf39b0934ee76d0223130de7dd6a44509.tar.gz gcc-3b71623bf39b0934ee76d0223130de7dd6a44509.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/function.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d7e10b..f8cea1c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/function.c b/gcc/function.c index b6e4f87..213cf63 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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; |