From a44492f041c765b8459d52daf16b10c6069a1723 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 8 Oct 1993 06:34:54 -0400 Subject: [PATCH] (emit_library_call): Fix typo in last change; should use Pmode instead of SImode. From-SVN: r5673 --- gcc/calls.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/calls.c b/gcc/calls.c index da23a6f4ceb..286dcdd03b5 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2135,10 +2135,12 @@ emit_library_call (va_alist) #ifdef FUNCTION_ARG_PASS_BY_REFERENCE if (FUNCTION_ARG_PASS_BY_REFERENCE (args_so_far, mode, NULL_TREE, 1)) { + /* 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); emit_move_insn (slot, val); val = XEXP (slot, 0); - mode = SImode; + mode = Pmode; } #endif @@ -2470,6 +2472,8 @@ emit_library_call_value (va_alist) #ifdef FUNCTION_ARG_PASS_BY_REFERENCE if (FUNCTION_ARG_PASS_BY_REFERENCE (args_so_far, mode, NULL_TREE, 1)) { + /* 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); emit_move_insn (slot, val); val = XEXP (slot, 0); -- 2.30.2