Commit 794ad79d by Richard Henderson Committed by Richard Henderson

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
parent 7a97f559
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment