re PR target/31070 (ICE in function_arg_slotno)
PR target/31070 * config/sparc/sparc.c (function_arg_slotno): Handle structure with MODE_VECTOR_INT mode. From-SVN: r139363
This commit is contained in:
parent
2fe17ae854
commit
0dd8c9bc69
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-08-20 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
PR target/31070
|
||||
* config/sparc/sparc.c (function_arg_slotno): Handle structure
|
||||
with MODE_VECTOR_INT mode.
|
||||
|
||||
2008-08-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||
|
||||
PR middle-end/179
|
||||
|
|
|
@ -4627,6 +4627,7 @@ function_arg_slotno (const struct sparc_args *cum, enum machine_mode mode,
|
|||
{
|
||||
case MODE_FLOAT:
|
||||
case MODE_COMPLEX_FLOAT:
|
||||
case MODE_VECTOR_INT:
|
||||
if (TARGET_ARCH64 && TARGET_FPU && named)
|
||||
{
|
||||
if (slotno >= SPARC_FP_ARG_MAX)
|
||||
|
|
Loading…
Add table
Reference in a new issue