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
Add qdf24xx base tuning support.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
cfgcleanup-1.c
blob
53ce97340d20a384aec0529ecf559beb8b60a91b
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-dce2" } */
3
void
4
cleanup
(
int
a
,
int
b
)
5
{
6
if
(
a
)
7
if
(
b
)
8
a
=
1
;
9
else
10
b
=
1
;
11
else if
(
a
)
12
a
=
1
;
13
else
14
b
=
1
;
15
return
;
16
}
17
/* Dce should get rid of the initializers and cfgcleanup should elliminate ifs */
18
/* { dg-final { scan-tree-dump-times "if " 0 "dce2"} } */