diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-11-18 22:30:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2004-11-19 09:00:58 +1030 |
commit | 4eeca74f4cd09d72bb23add8ec36daeb8b6b0543 (patch) | |
tree | fcd119ffc78e23ab962fde6d80e02372246e1ee0 /gcc/config | |
parent | d9648e1db3c0aa8fe7e9ce421c7ce9df089ab9b6 (diff) | |
download | gcc-4eeca74f4cd09d72bb23add8ec36daeb8b6b0543.zip gcc-4eeca74f4cd09d72bb23add8ec36daeb8b6b0543.tar.gz gcc-4eeca74f4cd09d72bb23add8ec36daeb8b6b0543.tar.bz2 |
* config/rs6000/rs6000.c (function_arg): Don't return BLKmode regs.
From-SVN: r90883
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 2e404ef..7bf6554 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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 |