Commit f5945faf by Richard Kenner

(alpha_builtin_saveregs): Refine last change to work for both stdarg

and varargs.

From-SVN: r9470
parent 5eceed92
......@@ -1144,7 +1144,7 @@ alpha_builtin_saveregs (arglist)
order to account for the integer arg registers which are counted in
argsize above, but which are not actually stored on the stack. */
addr = (current_function_args_info <= 5
addr = (current_function_args_info <= 5 + stdarg
? plus_constant (virtual_incoming_args_rtx, 6 * UNITS_PER_WORD)
: plus_constant (virtual_incoming_args_rtx, - (6 * UNITS_PER_WORD)));
......
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