Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
slp-57.c
blob: a35c4ef62030a13a80850d021f2c24559a1c19e8 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
int
a
[
1024
];
void
foo
(
int
x
)
{
for
(
int
i
=
0
;
i
<
1024
;
i
+=
2
)
{
a
[
i
]
=
x
;
a
[
i
+
1
]
=
1
;
}
}
/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" } } */