diff options
author | Jeff Sturm <jsturm@one-point.com> | 2002-02-07 18:48:13 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-02-07 10:48:13 -0800 |
commit | 225909c3c964ea743f202b7e52f3d381e11ab1ae (patch) | |
tree | 41144588f6819896bf6b942000c8c29e681bcd20 | |
parent | 0669d0ed20e8ea3ac7e07709dde68ec8490702ec (diff) | |
download | gcc-225909c3c964ea743f202b7e52f3d381e11ab1ae.zip gcc-225909c3c964ea743f202b7e52f3d381e11ab1ae.tar.gz gcc-225909c3c964ea743f202b7e52f3d381e11ab1ae.tar.bz2 |
sparc.c (compute_frame_size): Don't correct frame offset for stack bias.
* config/sparc/sparc.c (compute_frame_size): Don't correct frame
offset for stack bias.
From-SVN: r49582
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c3a0d2..12898da 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-07 Jeff Sturm <jsturm@one-point.com> + + * config/sparc/sparc.c (compute_frame_size): Don't correct frame + offset for stack bias. + 2002-02-07 H.J. Lu <hjl@gnu.org> * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 4017ae7..3c9e481 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -3383,9 +3383,8 @@ compute_frame_size (size, leaf_function) } else { - /* We subtract STARTING_FRAME_OFFSET, remember it's negative. - The stack bias (if any) is taken out to undo its effects. */ - apparent_fsize = (size - STARTING_FRAME_OFFSET + SPARC_STACK_BIAS + 7) & -8; + /* We subtract STARTING_FRAME_OFFSET, remember it's negative. */ + apparent_fsize = (size - STARTING_FRAME_OFFSET + 7) & -8; apparent_fsize += n_regs * 4; actual_fsize = apparent_fsize + ((outgoing_args_size + 7) & -8); } |