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
Merge -r 127928:132243 from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
vect-99.c
blob
aedbae43336c6fed594472a0f46219899bcd71bd
1
/* { dg-require-effective-target vect_int } */
2
3
int
ca
[
100
];
4
5
__attribute__
((
noinline
))
6
void
foo
(
int
n
)
7
{
8
unsigned int
i
;
9
10
for
(
i
=
0
;
i
<
n
;
i
++)
11
ca
[
i
] =
2
;
12
}
13
14
int
main
(
void
)
15
{
16
return
0
;
17
}
18
19
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
20
/* { dg-final { cleanup-tree-dump "vect" } } */