From 4dc07bd7c1dae4996da88b9d4114c954e5ace101 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 16 Nov 1999 09:43:40 -0800 Subject: explow.c (hard_function_value): Add outgoing argument. * explow.c (hard_function_value): Add outgoing argument. * expr.h (hard_function_value): Declare it. * calls.c (expand_call, emit_library_call_value): Update callers. * function.c (aggregate_value_p): Ditto. (diddle_return_value): Must look at the outgoing registers on archs with register windows. From-SVN: r30550 --- gcc/function.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 000ea2d..7c491df 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3992,7 +3992,7 @@ aggregate_value_p (exp) return 1; /* Make sure we have suitable call-clobbered regs to return the value in; if not, we must return it in memory. */ - reg = hard_function_value (type, 0); + reg = hard_function_value (type, 0, 0); /* If we have something other than a REG (e.g. a PARALLEL), then assume it is OK. */ @@ -6211,7 +6211,7 @@ diddle_return_value (code) /* Use hard_function_value to avoid creating a reference to a BLKmode register in the USE/CLOBBER insn. */ return_reg = hard_function_value (TREE_TYPE (decl_result), - current_function_decl); + current_function_decl, 1); REG_FUNCTION_VALUE_P (return_reg) = 1; emit_insn (gen_rtx_fmt_e (code, VOIDmode, return_reg)); } -- cgit v1.1