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
arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr57558-2.c
blob
ba8600351c010ba56379a4ca868ecada359d9fc5
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
void
foo
(
int
*
a
,
int
len
)
5
{
6
unsigned short
i
;
7
8
for
(
i
=
1
;
i
< (
len
-
1
);
i
++)
9
a
[
i
] =
a
[
i
+
1
];
10
}
11
12
/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */