From 8301b6e2638feff627a0fc734d716ab41f4c5c94 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 29 Sep 1994 16:59:45 -0700 Subject: [PATCH] (emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE, pass address through force_operand before using it. From-SVN: r8169 --- gcc/calls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/calls.c b/gcc/calls.c index 9d71a7e2a81..35e600e0982 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2203,7 +2203,7 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode, 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); + val = force_operand (XEXP (slot, 0), NULL_RTX); mode = Pmode; } #endif