GCC build failed for native with your patch on 2003-06-12T22:32:09Z.

Aldy Hernandez aldyh@redhat.com
Fri Jun 13 02:01:00 GMT 2003


Fixed thusly.  The SPE case is handled up above.

Committed mainline and e500 branch.

2003-06-12  Aldy Hernandez  <aldyh@redhat.com>

	* config/rs6000/rs6000.c (function_arg): Remove typo.

Index: config/rs6000/rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.489
diff -c -p -r1.489 rs6000.c
*** config/rs6000/rs6000.c	12 Jun 2003 21:38:46 -0000	1.489
--- config/rs6000/rs6000.c	13 Jun 2003 01:59:06 -0000
*************** function_arg (cum, mode, type, named)
*** 3960,3973 ****
   	  int n_words;
   	  int gregno = cum->sysv_gregno;

- 	  if (TARGET_SPE_ABI && TARGET_SPE && SPE_VECTOR_MODE (mode)
- 	      && !cum->stdarg
- 	      && cum->sysv_gregno <= GP_ARG_MAX_REG)
- 	    {
- 	      cum->sysv_gregno++;
- 	      return;
- 	    }
-
   	  /* Aggregates and IEEE quad get passed by reference.  */
   	  if ((type && AGGREGATE_TYPE_P (type))
   	      || mode == TFmode)
--- 3960,3965 ----



More information about the Gcc-regression mailing list