Commit a45fefd6 by Kaz Kojima

sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Use GET_MODE_SIZE when MODE isn't BLKmode.

	* config/sh/sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Use GET_MODE_SIZE
	when MODE isn't BLKmode.

From-SVN: r109554
parent e31a1967
2006-01-10 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Use GET_MODE_SIZE
when MODE isn't BLKmode.
2006-01-10 Eric Botcazou <ebotcazou@libertysurf.fr>
PR rtl-optimization/25367
......
......@@ -2103,7 +2103,9 @@ struct sh_args {
&& ((MODE) == BLKmode || (MODE) == TImode || (MODE) == CDImode \
|| (MODE) == DCmode) \
&& ((CUM).arg_count[(int) SH_ARG_INT] \
+ (int_size_in_bytes (TYPE) + 7) / 8) > NPARM_REGS (SImode))
+ (((MODE) == BLKmode ? int_size_in_bytes (TYPE) \
: GET_MODE_SIZE (MODE)) \
+ 7) / 8) > NPARM_REGS (SImode))
/* Perform any needed actions needed for a function that is receiving a
variable number of arguments. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment