This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-971127: results on powerpc-ibm-aix4.2.1.0


  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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]