(emit_library_call): Fix typo in last change; should use Pmode instead
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 8 Oct 1993 10:34:54 +0000 (06:34 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 8 Oct 1993 10:34:54 +0000 (06:34 -0400)
of SImode.

From-SVN: r5673

gcc/calls.c

index da23a6f..286dcdd 100644 (file)
@@ -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);