From: Richard Kenner Date: Wed, 24 Mar 1993 01:20:32 +0000 (-0500) Subject: (store_one_arg): Use int_size_in_bytes and expr_size when appropriate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cf91217da8a154f5df2273b5236d690e32366d0;p=gcc.git (store_one_arg): Use int_size_in_bytes and expr_size when appropriate instead of size_in_bytes. From-SVN: r3863 --- 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,