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-dom-dse-1.c
blob
e9048e586cc2f1eeb84e5ef0838c1022407d1edd
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-optimized" } */
3
4
int
x
;
5
void
6
foo
(
void
)
7
{
8
if
(
x
==
0
)
9
x
=
0
;
10
}
11
void
12
bar
(
int
i
)
13
{
14
if
(
x
==
i
)
15
x
=
i
;
16
}
17
18
/* { dg-final { scan-tree-dump-not "x =" "optimized" } } */