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
/
ssa-ccp-31.c
blob
12d7feb60725cf0439b86ad40e5554de4ecf7ade
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-ccp1" } */
3
4
void
h
(
void
);
5
6
int
g
(
int
i
,
int
j
)
7
{
8
int
t
=
0
;
9
int
i1
;
10
11
if
(
i
==
j
)
12
t
=
3
;
13
for
(
i1
=
0
;
i1
<
10000
;
i1
++)
h
();
14
if
(
t
!=
5
)
15
return
0
;
16
else
17
return
1
;
18
}
19
20
/* { dg-final { scan-tree-dump-times "Folding predicate.*to 1" 1 "ccp1" } } */