aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 7c5e863..3fc2d0e 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -2100,7 +2100,7 @@ aggregate_value_p (const_tree exp, const_tree fntype)
return 0;
regno = REGNO (reg);
- nregs = hard_regno_nregs[regno][TYPE_MODE (type)];
+ nregs = hard_regno_nregs (regno, TYPE_MODE (type));
for (i = 0; i < nregs; i++)
if (! call_used_regs[regno + i])
return 1;