mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-19 13:10:50 +08:00
(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:
parent
141b2e9f05
commit
1417e9bdd0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user