(emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE,
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 29 Sep 1994 23:59:45 +0000 (16:59 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 29 Sep 1994 23:59:45 +0000 (16:59 -0700)
pass address through force_operand before using it.

From-SVN: r8169

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