PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr86194.c
blob0993155f0c469f4ad2e1c5a072b2e4374c7fbd66
1 /* PR debug/86194 */
2 /* { dg-do compile { target int128 } } */
3 /* { dg-options "-O -g -mavx512bw" } */
5 typedef unsigned U __attribute__ ((vector_size (64)));
6 typedef unsigned long V __attribute__ ((vector_size (64)));
7 typedef unsigned __int128 W __attribute__ ((vector_size (64)));
9 U u;
12 bar (W w)
14 U k = u;
15 w <<= (W)(U) { 5, 3, 3, 0, 7, 3, 1, 3, k[7] };
16 k += (U) { -(char)w[3] } != k;
17 return (W)k + w;
20 void
21 foo (void)
23 u = (U){ bar ((W)(V) { 0, ~0, 0, 0, 0, 0, ~0 })[0] };