summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-06-09 10:47:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-06-09 10:47:28 +0000
commit52cc38e9ba0f664333019f0be29c25d49173b51f (patch)
tree5327bf293deb04f8056f95c98c1c665b2567e28a /gnu
parentf375aa232da502bf7863198e041e8bafec8db3ac (diff)
More meaningful formulation of the __va_stk initialization in
__builtin_saveregs(); no functional change.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/egcs/gcc/config/m88k/m88k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/egcs/gcc/config/m88k/m88k.c b/gnu/egcs/gcc/config/m88k/m88k.c
index b57d56b68b0..76b860fc907 100644
--- a/gnu/egcs/gcc/config/m88k/m88k.c
+++ b/gnu/egcs/gcc/config/m88k/m88k.c
@@ -2657,8 +2657,8 @@ m88k_builtin_saveregs (arglist)
plus_constant (XEXP (block, 0),
UNITS_PER_WORD)),
copy_to_reg (plus_constant( virtual_incoming_args_rtx,
- UNITS_PER_WORD *
- STARTING_FRAME_OFFSET)));
+ REG_PARM_STACK_SPACE
+ (current_function_decl))));
/* Allocate the register space, and store it as the __va_reg member. */
addr = assign_stack_local (BLKmode, 8 * UNITS_PER_WORD, -1);