Commit 6b5273c3 by Alexandre Oliva Committed by Alexandre Oliva

calls.c (emit_library_call_value_1): Add to call_fusage the stack slot assigned…

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
parent cd372c39
2000-12-29 Alexandre Oliva <aoliva@redhat.com>
* 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 <oldham@codesourcery.com>
* toplev.h (extern really_sorry): Remove extern declaration for
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment