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
gcc/
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
vector-subscript-2.c
blob
84d55b91d20036521eb44d9d02750379a13cc9ff
1
/* { dg-do compile } */
2
3
/* Check that subscripting of vectors work with register storage class decls. */
4
5
#define vector __attribute__((vector_size(16) ))
6
7
8
float
vf
(
int
i
)
9
{
10
register
vector
float
a
;
11
return
a
[
0
];
12
}