1 /* PR target/69551 */ 2 /* { dg-do run { target sse_runtime } } */ 3 /* { dg-options "-O2 -mno-sse2 -msse" } */ 4 5 typedef unsigned char v16qi __attribute__ ((vector_size (16))); 6 typedef unsigned int v4si __attribute__ ((vector_size (16))); 7 8 char __attribute__ ((noinline, noclone)) test(v4si vec)9test (v4si vec) 10 { 11 vec[1] = 0x5fb856; 12 return ((v16qi) vec)[0]; 13 } 14 15 int main()16main () 17 { 18 char z = test ((v4si) { -1, -1, -1, -1 }); 19 20 if (z != -1) 21 __builtin_abort (); 22 return 0; 23 } 24