From: Richard Kenner Date: Wed, 26 Apr 1995 02:48:27 +0000 (-0400) Subject: (alpha_builtin_saveregs): Refine last change to work for both stdarg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5945faf823a73019f05288e0d64135cf08ab8f7;p=gcc.git (alpha_builtin_saveregs): Refine last change to work for both stdarg and varargs. From-SVN: r9470 --- diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 3fe36ff7380..727e0a9df86 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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)));