This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on 2003-06-12T22:32:09Z.
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-regression at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Thu, 12 Jun 2003 22:00:23 -0400
- Subject: Re: GCC build failed for native with your patch on 2003-06-12T22:32:09Z.
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 ----