repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr80162-2.c
blob
cb2c8991ae9801b4c4dcc50178484c1ad0106249
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
}