question about AltiVec builtins

Fariborz Jahanian fjahanian@apple.com
Tue May 11 20:45:00 GMT 2004


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




More information about the Gcc mailing list