OSDN Git Service

(emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE,
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Sep 1994 23:59:45 +0000 (23:59 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Sep 1994 23:59:45 +0000 (23:59 +0000)
pass address through force_operand before using it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8169 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/calls.c

index 9d71a7e..35e600e 100644 (file)
@@ -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