Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / c-c++-common / pr80162-2.c
blobcb2c8991ae9801b4c4dcc50178484c1ad0106249
1 /* PR middle-end/80162 */
2 /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
3 /* { dg-options "-mavx2 -ffixed-xmm7" } */
5 typedef int V __attribute__ ((vector_size (32)));
6 register V u asm ("xmm7");
8 int
9 foo (int i)
11 return u[i];
14 int
15 bar (void)
17 return u[5];