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
/
phi-opt-11.c
blob
cda3abf9ec5be0d11361cdba7b9d2f96c9fbc04a
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-optimized" } */
3
4
int
f
(
int
a
,
int
b
,
int
c
)
5
{
6
if
(
a
==
0
&&
b
>
c
)
7
return
0
;
8
return
a
;
9
}
10
11
int
g
(
int
a
,
int
b
,
int
c
)
12
{
13
if
(
a
==
42
&&
b
>
c
)
14
return
42
;
15
return
a
;
16
}
17
18
int
h
(
int
a
,
int
b
,
int
c
,
int
d
)
19
{
20
if
(
a
==
d
&&
b
>
c
)
21
return
d
;
22
return
a
;
23
}
24
/* { dg-final { scan-tree-dump-times "if" 0 "optimized"} } */