repo.or.cz
/
gcc-vect-testsuite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add compile command to each testcase
[gcc-vect-testsuite.git]
/
pr42395.c
blob
7d0b8324f683a161b30c27f2b1ab12ac2be38394
1
/* PR debug/42395 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -ftree-vectorize -g" } */
4
5
void
foo
(
int
j
,
int
*
A
)
6
{
7
int
i
;
8
for
(
i
=
0
;
i
<
j
;
i
++)
A
[
i
] =
i
;
9
for
(;
i
<
4096
;
i
++)
A
[
i
] =
0
;
10
}