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
2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr33707.c
blob
b55314264f160e17525261f82b8116a34e4bb62d
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
int
5
foo
(
char
*
a
,
unsigned
n
)
6
{
7
int
i
;
8
a
[
0
] =
0
;
9
for
(
i
=
16
;
i
<
n
;
i
++)
10
a
[
i
] =
a
[
i
-
16
];
11
}
12
/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */