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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
cunroll-10.c
blob
f392fbeb6e6bf11ed9bfbb4be647bbeb5f5073b9
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -Warray-bounds -fdump-tree-cunroll-details" } */
3
int
a
[
3
];
4
int
b
[
4
];
5
int
6
foo
(
int
n
)
7
{
8
int
i
;
9
for
(
i
=
0
;
i
<
n
;
i
++)
10
if
(
b
[
i
]==
2
)
11
a
[
i
]++;
12
}
13
/* { dg-final { scan-tree-dump-times "Forced statement unreachable" 2 "cunroll" } } */