summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-05 09:27:15 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-05 09:27:15 +0000
commit0a8301beaa5ea0fd7ba42285b000841856569a89 (patch)
tree78c6eeb9e36ed0b21465ae96fd6bb2ed7120b30b /gcc
parentde0b7cc43be2cbf1a60428175893427d5c1a8773 (diff)
downloadgcc-0a8301beaa5ea0fd7ba42285b000841856569a89.tar.gz
PR fortran/3392
* config/mips/mips.c (function_arg): Handle TImode. (function_arg_advance): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49520 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 3c7d686e5cf..107ec4b0fbc 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 83df73878f5..8c19a992459 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;