sparc.c (compute_frame_size): Don't correct frame offset for stack bias.
authorJeff Sturm <jsturm@one-point.com>
Thu, 7 Feb 2002 18:48:13 +0000 (18:48 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 7 Feb 2002 18:48:13 +0000 (10:48 -0800)
        * config/sparc/sparc.c (compute_frame_size): Don't correct frame
        offset for stack bias.

From-SVN: r49582

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 3c3a0d28314541b7af52afba0a4c6cc19c195084..12898da5ae0be13d61351f52e68947e673be940b 100644 (file)
@@ -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.
index 4017ae7af8df0d92aa6da3c4620643e88b625f1d..3c9e48185ad9d446e78193836941ecc38685c869 100644 (file)
@@ -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);
     }