Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / c-c++-common / pr59037.c
blobfae13c2fa94d38b357efad6649a603ab95d2ee16
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
4 typedef int v4si __attribute__ ((vector_size (16)));
6 int
7 main (int argc, char** argv)
9 v4si x = {0,1,2,3};
10 x = (v4si) {(x)[3], (x)[2], (x)[1], (x)[0]};
11 return x[4];