Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / c-c++-common / vector-subscript-5.c
blob66ed87a4d0bfe41550b9d3f5f9341615609cf603
1 /* { dg-do compile } */
3 typedef int U __attribute__ ((vector_size (16)));
5 int
6 foo (int i)
8 #if __SSE2__
9 register
10 #endif
11 U u
12 #if __SSE2__
13 asm ("xmm0")
14 #endif
16 return u[i];