diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-10 12:26:25 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-10 12:26:25 +0000 |
commit | 302d28128473ecf820b888d11b774bb6cd208646 (patch) | |
tree | 4024c92d6019d2a2f1385e89e04acbb1e7a99ba7 /gcc/config | |
parent | 00ca92344c4d1c48572d7dbda78893cd9323cd70 (diff) | |
download | gcc-302d28128473ecf820b888d11b774bb6cd208646.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165252 138bc75d-0d04-0410-961f-82ee72b054a4
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 c6415d3a1df..bd118f7b95b 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 |