aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-02-05 01:27:15 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-02-05 01:27:15 -0800
commit794ad79db4f21046b9b060c28d82c681057da61f (patch)
tree78c6eeb9e36ed0b21465ae96fd6bb2ed7120b30b
parent7a97f559c5d4ceb87ecf936034e732e0ce835c5d (diff)
downloadgcc-794ad79db4f21046b9b060c28d82c681057da61f.zip
gcc-794ad79db4f21046b9b060c28d82c681057da61f.tar.gz
gcc-794ad79db4f21046b9b060c28d82c681057da61f.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3c7d686..107ec4b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 83df738..8c19a99 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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;