https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758

acsawdey at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #32 from acsawdey at gcc dot gnu.org ---
This fix committed to trunk as 257193:

Index: gcc/config/rs6000/rs6000.c
===================================================================
--- gcc/config/rs6000/rs6000.c  (revision 257188)
+++ gcc/config/rs6000/rs6000.c  (working copy)
@@ -29602,8 +29602,9 @@
          emit_insn_after (pat, get_insns ());
          pop_topmost_sequence ();
        }
-      return plus_constant (Pmode, cfun->machine->split_stack_arg_pointer,
-                           FIRST_PARM_OFFSET (current_function_decl));
+      rtx ret = plus_constant (Pmode, cfun->machine->split_stack_arg_pointer,
+                              FIRST_PARM_OFFSET (current_function_decl));
+      return copy_to_reg (ret);
     }
   return virtual_incoming_args_rtx;
 }

Reply via email to