From: Richard Sandiford Date: Wed, 15 Dec 2004 08:55:05 +0000 (+0000) Subject: mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument is... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eef5d0d1b9f1d3159383c54b513a9633356dbcbc;p=platform%2Fupstream%2Fgcc.git mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument is double-word aligned. * config/mips/mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument is double-word aligned. From-SVN: r92182 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2639ad5..6feb09b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-12-15 Richard Sandiford + + * config/mips/mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to + decide whether an argument is double-word aligned. + 2004-12-15 Richard Henderson * config/i386/i386.md: Fix missing modes on cmove splitters. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index d3b5faa..568bb8b 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -3136,9 +3136,7 @@ mips_arg_info (const CUMULATIVE_ARGS *cum, enum machine_mode mode, } /* See whether the argument has doubleword alignment. */ - doubleword_aligned_p = (type - ? TYPE_ALIGN (type) > BITS_PER_WORD - : GET_MODE_UNIT_SIZE (mode) > UNITS_PER_WORD); + doubleword_aligned_p = FUNCTION_ARG_BOUNDARY (mode, type) > BITS_PER_WORD; /* Set REG_OFFSET to the register count we're interested in. The EABI allocates the floating-point registers separately,