* config/rs6000/rs6000.c (function_arg): Don't return BLKmode regs.

From-SVN: r90883
This commit is contained in:
Alan Modra 2004-11-18 22:30:58 +00:00 committed by Alan Modra
parent d9648e1db3
commit 4eeca74f4c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-11-19 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (function_arg): Don't return BLKmode regs.
2004-11-18 Nicolas Pitre <nico@cam.org>
* config/arm/arm.c (const_double_needs_minipool): New function to

View File

@ -5525,6 +5525,9 @@ function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode,
if (TARGET_32BIT && TARGET_POWERPC64)
return rs6000_mixed_function_arg (mode, type, align_words);
if (mode == BLKmode)
mode = Pmode;
return gen_rtx_REG (mode, GP_ARG_MIN_REG + align_words);
}
else