From 0cf91217da8a154f5df2273b5236d690e32366d0 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 23 Mar 1993 20:20:32 -0500 Subject: [PATCH] (store_one_arg): Use int_size_in_bytes and expr_size when appropriate instead of size_in_bytes. From-SVN: r3863 --- gcc/calls.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/calls.c b/gcc/calls.c index 009eda8acbe..bd7b909d4ba 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2794,12 +2794,11 @@ store_one_arg (arg, argblock, may_be_alloca, variable_size, fndecl, } else { - register tree size = size_in_bytes (TREE_TYPE (pval)); /* PUSH_ROUNDING has no effect on us, because emit_push_insn for BLKmode is careful to avoid it. */ - excess = (arg->size.constant - TREE_INT_CST_LOW (size) + excess = (arg->size.constant - int_size_in_bytes (TREE_TYPE (pval)) + partial * UNITS_PER_WORD); - size_rtx = expand_expr (size, NULL_RTX, VOIDmode, 0); + size_rtx = expr_size (TREE_TYPE (pval)); } emit_push_insn (arg->value, arg->mode, TREE_TYPE (pval), size_rtx, -- 2.30.2