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
/
tree-ssa
/
cunroll-10.c
blob
d28029a1083493146642f8c32032262c7f9d6ca5
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -Warray-bounds -fno-tree-vectorize -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" } } */