From 15039abedc2563946ce873dc986eb71acc5e1e0f Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 1 Oct 1997 20:49:25 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 8 ++++++++ gcc/config/mips/mips.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c5876bc67c4..3b6d7ca037e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +Wed Oct 1 13:43:53 1997 Jim Wilson + + Bring over from FSF. + Tue Aug 5 16:10:45 1997 Jason Merrill + + * 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 * pexecute.c: Use spawn if __CYGWIN32__. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 61366694c15..9cf2cc31507 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 {