(mips_function_value): Add check for i > 0 when deciding

if structure should be return in FP registers.

From-SVN: r10617
This commit is contained in:
Jim Wilson 1995-11-28 18:56:14 -08:00
parent 141b2e9f05
commit 1417e9bdd0

View File

@ -5564,7 +5564,8 @@ mips_function_value (valtype, func)
break;
}
if (! field)
/* Must check i, so that we reject structures with no elements. */
if (! field && i > 0)
reg = FP_RETURN;
}