repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-pr77766.c
blob
ab6d2d9ac94bc921d8733c110e0c6019f604945e
1
/*
2
pr77766.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
#ifdef __SDCC
8
#pragma std_c99
9
#endif
10
11
char
a
;
12
short
b
,
d
=
5
,
h
;
13
char
c
[
1
];
14
int
e
,
f
=
4
,
g
,
j
;
15
void
16
testTortureExecute
(
void
) {
17
int
i
;
18
for
(;
f
;
f
=
a
) {
19
g
=
0
;
20
for
(;
g
<=
32
; ++
g
) {
21
i
=
0
;
22
for
(;
i
<
3
;
i
++)
23
while
(
1
>
d
)
24
if
(
c
[
b
])
25
break
;
26
L
:
27
if
(
j
)
28
break
;
29
}
30
}
31
e
=
0
;
32
for
(;
e
;
e
=
0
) {
33
d
++;
34
for
(;
h
;)
35
goto
L
;
36
}
37
return
;
38
}
39