From: Alexandre Oliva Date: Fri, 29 Dec 2000 04:36:00 +0000 (+0000) Subject: calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b5273c31e6d2ad38193c25dd3aa83164bfe1b82;p=gcc.git calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to argument passed by reference. * calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned to argument passed by reference. From-SVN: r38523 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff7fc425acd..20dd94cf3cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-12-29 Alexandre Oliva + + * calls.c (emit_library_call_value_1): Add to call_fusage the + stack slot assigned to argument passed by reference. + 2000-12-28 Jeffrey Oldham * toplev.h (extern really_sorry): Remove extern declaration for diff --git a/gcc/calls.c b/gcc/calls.c index 51d5566d374..0f031ac6ec9 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -3667,6 +3667,9 @@ emit_library_call_value_1 (retval, orgfun, value, fn_type, outmode, nargs, p) /* We do not support FUNCTION_ARG_CALLEE_COPIES here since it can be viewed as just an efficiency improvement. */ rtx slot = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); + call_fusage = gen_rtx_EXPR_LIST (VOIDmode, + gen_rtx_USE (VOIDmode, slot), + call_fusage); emit_move_insn (slot, val); val = force_operand (XEXP (slot, 0), NULL_RTX); mode = Pmode;