This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-971127: results on powerpc-ibm-aix4.2.1.0
- To: pooh at msu dot ru
- Subject: Re: egcs-971127: results on powerpc-ibm-aix4.2.1.0
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 29 Nov 1997 15:26:01 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <34801C0C.A67C5FAB@msu.ru>you write:
> Why there is a regression in gcc testsuite
> (gcc.c-torture/execute/va-arg-5.c)?
Bug in Meissner's rework of some of Geoffrey Keating's patches;
This should fix the problem (and will be included in the release).
Index: rs6000.c
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.3.2.4
retrieving revision 1.3.2.5
diff -c -3 -p -r1.3.2.4 -r1.3.2.5
*** rs6000.c 1997/11/27 00:06:51 1.3.2.4
--- rs6000.c 1997/11/29 21:37:41 1.3.2.5
*************** function_arg_partial_nregs (cum, mode, t
*** 1387,1395 ****
return 0;
}
- if (GET_MODE_CLASS (mode) == MODE_FLOAT && TARGET_HARD_FLOAT)
- return 0;
-
if (cum->words < GP_ARG_NUM_REG
&& GP_ARG_NUM_REG < (cum->words + RS6000_ARG_SIZE (mode, type, named)))
{
--- 1387,1392 ----