This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question about AltiVec builtins


Now that we are doing the 'being bad person' motif :),

My patch changed the behavior, but it fixed a i386 regression in doing so.


The testcase does not warn with "#define vector" on top of it, why should the vector type behave differently?

Paolo


/* { dg-do compile } */ /* { dg-options "-Wall" } */ vector int a; vector unsigned int f;

void hanneke ()
{
  f = a; /* { dg-error "incompatible types in assignment" } */
}



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]