https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119384
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2025-03-21
Ever confirmed|0 |1
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Simplified testcase:
```
typedef int v4si __attribute__((vector_size(4*sizeof(int))));
typedef float v4sf __attribute__((vector_size(4*sizeof(int))));
void f(v4sf *a, v4sf *b, int l)
{
v4si c = (v4si)*a;
for(int i = 0;i < l; i++)
{
v4sf d = (v4sf)c;
d+=b[i];
c = (v4si)d;
}
*a = (v4sf)c;
}
```
Show the issue on both aarch64 and x86_64 and really all that support both v4si
and v4sf.