diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2010-10-10 14:26:25 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2010-10-10 14:26:25 +0200 |
commit | bdf057c6e206b32e59f8f287cae912cccee80d2c (patch) | |
tree | 4024c92d6019d2a2f1385e89e04acbb1e7a99ba7 /gcc/config | |
parent | 4304395d8602b0913bcfb1e65984e3aefa5bcf69 (diff) | |
download | gcc-bdf057c6e206b32e59f8f287cae912cccee80d2c.zip gcc-bdf057c6e206b32e59f8f287cae912cccee80d2c.tar.gz gcc-bdf057c6e206b32e59f8f287cae912cccee80d2c.tar.bz2 |
alpha.c (alpha_setup_incoming_varargs): Pass pointer to cum struct in the call to function_arg_advance.
2010-10-10 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_setup_incoming_varargs): Pass pointer
to cum struct in the call to function_arg_advance.
(alpha_function_arg_advance): Mark named as unused.
From-SVN: r165252
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/alpha/alpha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index c6415d3..bd118f7 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -5697,7 +5697,7 @@ alpha_function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode, static void alpha_function_arg_advance (CUMULATIVE_ARGS *cum, enum machine_mode mode, - const_tree type, bool named) + const_tree type, bool named ATTRIBUTE_UNUSED) { bool onstack = targetm.calls.must_pass_in_stack (mode, type); int increment = onstack ? 6 : ALPHA_ARG_SIZE (mode, type, named); @@ -6138,7 +6138,7 @@ alpha_setup_incoming_varargs (CUMULATIVE_ARGS *pcum, enum machine_mode mode, CUMULATIVE_ARGS cum = *pcum; /* Skip the current argument. */ - targetm.calls.function_arg_advance (cum, mode, type, true); + targetm.calls.function_arg_advance (&cum, mode, type, true); #if TARGET_ABI_UNICOSMK /* On Unicos/Mk, the standard subroutine __T3E_MISMATCH stores all register |