aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-08-09 12:26:03 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-08-09 12:26:03 -0700
commit377b77611649f7eb01f47283aae8d6c5657d6049 (patch)
tree70452e70ce0bf4728f127b055844595f22939589 /gcc
parent835532b871f829d54eaf4198e50ed8cfb1f6a7e5 (diff)
downloadgcc-377b77611649f7eb01f47283aae8d6c5657d6049.zip
gcc-377b77611649f7eb01f47283aae8d6c5657d6049.tar.gz
gcc-377b77611649f7eb01f47283aae8d6c5657d6049.tar.bz2
(function_arg, DFmode case): Set regbase to GP_ARG_FIRST
if cum->arg_number greater than or equal to 2. From-SVN: r5119
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 65ceff1..dc1c30a 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -2577,9 +2577,9 @@ function_arg (cum, mode, type, named)
case DFmode:
cum->arg_words += (cum->arg_words & 1);
- regbase = (cum->gp_reg_found || TARGET_SOFT_FLOAT)
- ? GP_ARG_FIRST
- : FP_ARG_FIRST;
+ regbase = (cum->gp_reg_found || TARGET_SOFT_FLOAT || cum->arg_number >= 2
+ ? GP_ARG_FIRST
+ : FP_ARG_FIRST);
break;
case BLKmode: