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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr36630.c
blob
c5aedd7893220d6d6cc27c8e14f23760beab4e96
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" } } */