aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/alpha/alpha.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2015-10-20 17:31:07 +0200
committerUros Bizjak <uros@gcc.gnu.org>2015-10-20 17:31:07 +0200
commit6c27ebdbe81c13d68c4e590a060fd12e6118feb5 (patch)
treef2a036aa6c5ddc9cea8214484bc779aa6de095b1 /gcc/config/alpha/alpha.c
parentfabb2a3def3f31878a3820e21d0630452c0d2f5b (diff)
downloadgcc-6c27ebdbe81c13d68c4e590a060fd12e6118feb5.zip
gcc-6c27ebdbe81c13d68c4e590a060fd12e6118feb5.tar.gz
gcc-6c27ebdbe81c13d68c4e590a060fd12e6118feb5.tar.bz2
alpha.h (HARD_REGNO_NREGS): Use CEIL macro.
* config/alpha/alpha.h (HARD_REGNO_NREGS): Use CEIL macro. (ALPHA_ARG_SIZE): Ditto. Remove unused NAMED argument. * config/alpha/alpha.c (alpha_function_arg_advance): Update ALPHA_ARG_SIZE usage. (alpha_arg_partial_bytes): Ditto. From-SVN: r229084
Diffstat (limited to 'gcc/config/alpha/alpha.c')
-rw-r--r--gcc/config/alpha/alpha.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index c8cd651..d22bf67 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -5613,7 +5613,7 @@ alpha_function_arg_advance (cumulative_args_t cum_v, machine_mode mode,
{
CUMULATIVE_ARGS *cum = get_cumulative_args (cum_v);
bool onstack = targetm.calls.must_pass_in_stack (mode, type);
- int increment = onstack ? 6 : ALPHA_ARG_SIZE (mode, type, named);
+ int increment = onstack ? 6 : ALPHA_ARG_SIZE (mode, type);
#if TARGET_ABI_OSF
*cum += increment;
@@ -5635,10 +5635,10 @@ alpha_arg_partial_bytes (cumulative_args_t cum_v,
#if TARGET_ABI_OPEN_VMS
if (cum->num_args < 6
- && 6 < cum->num_args + ALPHA_ARG_SIZE (mode, type, named))
+ && 6 < cum->num_args + ALPHA_ARG_SIZE (mode, type))
words = 6 - cum->num_args;
#elif TARGET_ABI_OSF
- if (*cum < 6 && 6 < *cum + ALPHA_ARG_SIZE (mode, type, named))
+ if (*cum < 6 && 6 < *cum + ALPHA_ARG_SIZE (mode, type))
words = 6 - *cum;
#else
#error Unhandled ABI