re PR fortran/3392 (ICE in function_arg, at config/mips/mips.c:4007)

PR fortran/3392
        * config/mips/mips.c (function_arg): Handle TImode.
        (function_arg_advance): Likewise.

From-SVN: r49520
This commit is contained in:
Richard Henderson 2002-02-05 01:27:15 -08:00 committed by Richard Henderson
parent 7a97f559c5
commit 794ad79db4
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2002-02-05 Richard Henderson <rth@redhat.com>
PR fortran/3392
* config/mips/mips.c (function_arg): Handle TImode.
(function_arg_advance): Likewise.
2002-02-05 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h (vec_step_help): Rename to

View file

@ -3948,6 +3948,7 @@ function_arg_advance (cum, mode, type, named)
break;
case DImode:
case TImode:
cum->gp_reg_found = 1;
cum->arg_words += (TARGET_64BIT ? 1 : 2);
break;
@ -4074,6 +4075,7 @@ function_arg (cum, mode, type, named)
break;
case DImode:
case TImode:
if (! TARGET_64BIT)
cum->arg_words += (cum->arg_words & 1);
regbase = GP_ARG_FIRST;