comparison gcc/testsuite/c-c++-common/pr80162-2.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR middle-end/80162 */
2 /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
3 /* { dg-options "-mavx2 -ffixed-xmm7" } */
4
5 typedef int V __attribute__ ((vector_size (32)));
6 register V u asm ("xmm7");
7
8 int
9 foo (int i)
10 {
11 return u[i];
12 }
13
14 int
15 bar (void)
16 {
17 return u[5];
18 }