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
PR c/20368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
medce-2.c
blob
cd83ead28674a44b27dd7ca08159ddb208766be3
1
2
extern
void
abort
();
3
4
static int
ok
=
0
;
5
6
int
bar
(
void
)
7
{
8
ok
|=
1
;
9
return
1
;
10
}
11
12
void
bat
(
void
)
13
{
14
ok
|=
2
;
15
}
16
17
void
baz
(
void
)
18
{
19
ok
|=
4
;
20
}
21
22
void
foo
()
23
{
24
goto
lab
;
25
26
if
(
0
)
27
{
28
if
(({
lab
:
bar
();}))
29
bat
();
30
else
31
baz
();
32
}
33
}
34
35
int
main
()
36
{
37
foo
();
38
if
(
ok
!=
3
)
39
abort
();
40
return
0
;
41
}
42