blob: a21ed9b7264c141d38620c1623c93209fed4d724 [file] [log] [blame]
/* PR target/85169 */
typedef char V __attribute__((vector_size (64)));
static void __attribute__ ((noipa))
foo (V *p)
{
V v = *p;
v[63] = 1;
*p = v;
}
int
main ()
{
V v = (V) { };
foo (&v);
for (unsigned i = 0; i < 64; i++)
if (v[i] != (i == 63))
__builtin_abort ();
return 0;
}