This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFT/PATCH] Fix Altivec breakage
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Fariborz Jahanian <fjahanian at apple dot com>, Richard Henderson <rth at redhat dot com>
- Date: Sun, 11 Apr 2004 08:14:15 -0400
- Subject: Re: [RFT/PATCH] Fix Altivec breakage
- References: <002201c41f1b$cb3f0720$94df1d97@philo>
> Can anybody please test it on a PPC? If it passes, ok for mainline?
Hi Paolo.
Here is a distilled testcase. With your patch, does this test
compile? If so, you have fixed the problem. (You'd still need to
test for regressions ;-)).
Cheers.
Aldy
#define vec __attribute__((vector_size(16)))
int array[__builtin_types_compatible_p (vec unsigned short, vec signed short) ?
-1 : 5];