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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
slp-57.c
blob
a35c4ef62030a13a80850d021f2c24559a1c19e8
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
int
a
[
1024
];
5
void
foo
(
int
x
)
6
{
7
for
(
int
i
=
0
;
i
<
1024
;
i
+=
2
)
8
{
9
a
[
i
] =
x
;
10
a
[
i
+
1
] =
1
;
11
}
12
}
13
14
/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" } } */