This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] make spu-elf target build with gcc-fsf
- From: Andrew_Pinski at PlayStation dot Sony dot Com
- To: Kazunori Asayama <asayama at sm dot sony dot co dot jp>
- Cc: lu_zero at gentoo dot org, newlib at sourceware dot org
- Date: Wed, 29 Nov 2006 00:04:50 -0800
- Subject: Re: [PATCH] make spu-elf target build with gcc-fsf
newlib-owner@sourceware.org wrote on 11/28/2006 11:59:59 PM:
> Luca Barbato <lu_zero@gentoo.org> wrote:
> > Issues addressed:
> >
> > - size_t has no implicit cast to an allowed tipe for spu
> >
> > - apple-cast is forbidden
> >
> > - vector is defined in spu_intrinsics.h
>
> This your patch causes another build broken with the BSC version of
> spu-gcc. Attached is a patch to fix the problem.
Oh, I know why this is not rejected on the FSF GCC, it is a bug which has
been mentioned already
on the GCC list.
The patch for GCC to reject these cases is mentioned at:
http://gcc.gnu.org/ml/gcc-patches/2006-11/msg00926.html
Thanks,
Andrew Pinski