repo.or.cz
/
gcc-vect-testsuite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add compile command to each testcase
[gcc-vect-testsuite.git]
/
pr36630.c
blob
2253f7574b85b591bd9318403797c0fce3bbd8a9
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
void
5
foo
(
unsigned char
*
x
,
short
y
)
6
{
7
short
i
;
8
9
i
=
2
;
10
while
(
i
<
y
)
11
{
12
x
[
i
-
1
] =
x
[
i
];
13
i
=
i
+
1
;
14
}
15
}
16
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
17
/* { dg-final { cleanup-tree-dump "vect" } } */