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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-pre-22.c
blob
2e7cf4c140c40a053a76cc60f7e9cf473e43e1e0
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-pre-stats" } */
3
4
int
foo
(
int
i
,
int
b
)
5
{
6
int
j
=
1
;
7
if
(
b
)
8
j
=
i
;
9
return
j
-
i
;
10
}
11
12
/* { dg-final { scan-tree-dump "Eliminated: 1" "pre" } } */