projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.7.3
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr36630.c
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" } } */