repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr18308.c
blob
02aaed2f864e1f3b5826ee9a8b4f4b8e166511c9
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-vectorize -funroll-loops" } */
3
void
foo
();
4
5
void
bar
(
int
j
)
6
{
7
int
i
,
k
=
0
;
8
for
(
i
=
0
;
i
<
2
; ++
i
)
9
if
(
j
)
k
=
2
;
10
11
if
(
k
)
foo
();
12
}
13
14
/* { dg-final { cleanup-tree-dump "vect" } } */