Commit 8301b6e2 by Jim Wilson

(emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE,

pass address through force_operand before using it.

From-SVN: r8169
parent efbde2a2
...@@ -2203,7 +2203,7 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode, ...@@ -2203,7 +2203,7 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode,
be viewed as just an efficiency improvement. */ be viewed as just an efficiency improvement. */
rtx slot = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0); rtx slot = assign_stack_temp (mode, GET_MODE_SIZE (mode), 0);
emit_move_insn (slot, val); emit_move_insn (slot, val);
val = XEXP (slot, 0); val = force_operand (XEXP (slot, 0), NULL_RTX);
mode = Pmode; mode = Pmode;
} }
#endif #endif
......
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