Commit 227f7fd9 by Richard Stallman

(sparc_builtin_saveregs): Don't set first_reg to zero for varargs.

From-SVN: r4603
parent 3673e996
......@@ -2260,8 +2260,11 @@ sparc_builtin_saveregs (arglist)
rtx address;
int regno;
#if 0 /* This code seemed to have no effect except to make
varargs not work right when va_list wasn't the first arg. */
if (! stdarg)
first_reg = 0;
#endif
for (regno = first_reg; regno < NPARM_REGS; regno++)
emit_move_insn (gen_rtx (MEM, word_mode,
......
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