middle-end: copy STMT_VINFO_STRIDED_P when DR is replaced [PR116956]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr103181.c
blob6bc705ab52eb06107b5c12bcd8c3e921f34dd68a
1 /* { dg-do run } */
3 typedef unsigned char __attribute__((__vector_size__ (2))) U;
4 typedef unsigned short S;
5 typedef unsigned int __attribute__((__vector_size__ (64))) V;
7 V v;
8 U a, b, c;
11 foo (S s)
13 v += __builtin_bswap16 (s) || (S) (a / ((U){3, 0}));
14 return b + c;
17 int
18 main (void)
20 U x = foo (4);
21 if (x[0] || x[1])
22 __builtin_abort ();
23 return 0;