This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question about AltiVec builtins
On May 11, 2004, at 1:23 PM, Aldy Hernandez wrote:
On Tue, May 11, 2004 at 12:36:08PM -0700, Ziemowit Laski wrote:
I shall. I apologize for my copy-and-pasto. I'm a bad person. :-)
:-)
No, you're only a bad person if you don't fix it :-).
Now that we are doing the 'being bad person' motif :),
Following test case should issue a warning and it no longer does.
It is an extract from .../testsuite/gcc.dg/simd-1.c
/* { dg-do compile } */
/* { dg-options "-Wall" } */
vector int a;
vector unsigned int f;
void hanneke ()
{
f = a; /* { dg-error "incompatible types in assignment" } */
}
- Fariborz