aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1997-10-01 20:49:25 +0000
committerJim Wilson <wilson@gcc.gnu.org>1997-10-01 13:49:25 -0700
commit15039abedc2563946ce873dc986eb71acc5e1e0f (patch)
treecb631664c1ece7b28c56f772576b89dac32eb99f /gcc
parent236bdb77b5ccf5c4a19f82bc9c224952517e4426 (diff)
downloadgcc-15039abedc2563946ce873dc986eb71acc5e1e0f.zip
gcc-15039abedc2563946ce873dc986eb71acc5e1e0f.tar.gz
gcc-15039abedc2563946ce873dc986eb71acc5e1e0f.tar.bz2
Fix 961223-1.c irix6 c-torture failure.
* mips.c (function_arg): Handle passing a struct containing a double in a DFmode register without the PARALLEL. From-SVN: r15830
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c5876bc..3b6d7ca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
+
+ Bring over from FSF.
+ Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
+
+ * mips.c (function_arg): Handle passing a struct
+ containing a double in a DFmode register without the PARALLEL.
+
Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
* pexecute.c: Use spawn if __CYGWIN32__.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 6136669..9cf2cc3 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -3208,7 +3208,7 @@ function_arg (cum, mode, type, named)
% BITS_PER_WORD == 0))
break;
- if (! field)
+ if (! field || mode == DFmode)
ret = gen_rtx (REG, mode, regbase + *arg_words + bias);
else
{