>
> On Oct 31, 2006, at 10:47 AM, Mark Shinwell wrote:
> > What do others think?
>
> My only concern is that we have tons of customers with tons of code
> and you don't have any and that you break their code. I don't have
> any idea if this would be the case or not, I don't usually do the
> vector bugs.
This is a regression from 3.4.0 and before. The following testcase was rejected
before 4.0.0:
#define vector __attribute__((vector_size(16) ))
vector int f(vector int, vector unsigned int);
int g(void)
{
vector int t;
vector int t1;
vector unsigned int t2;
t2 = f(t,t1);
}
-------
With the error of:
t2.c: In function `g':
t2.c:10: error: incompatible type for argument 2 of `f'
t2.c:10: error: incompatible types in assignment
In 4.0.0 and above, we accept this without any error. So I doubt we will break
any user code unless they are using 4.0.0 and above only.
Thanks,
Andrew Pinski