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-thread-9.c
blob
2d9028d3ea9798f57572704d22d15aec385dbed9
1
/* PR 65048 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -std=gnu89" } */
4
5
int
a
,
b
,
c
,
d
;
6
void
fn
(
void
);
7
8
int
9
foo
(
x
)
10
int
x
;
11
{
12
switch
(
x
)
13
{
14
case
'A'
:
15
return
'T'
;
16
case
'U'
:
17
return
'A'
;
18
}
19
}
20
21
void
22
bar
(
int
x
,
int
y
)
23
{
24
switch
(
c
)
25
{
26
case
'U'
:
27
switch
(
x
)
28
{
29
default
:
30
fn
();
31
case
'G'
:
32
switch
(
y
)
33
{
34
case
'A'
:
35
d
=
7
;
36
}
37
}
38
}
39
}
40
41
void
42
baz
(
void
)
43
{
44
while
(
1
)
45
{
46
a
=
foo
();
47
b
=
foo
();
48
bar
(
a
,
b
);
49
}
50
}
51