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
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-pr78856.c
blob
cb2993615622c230cb9497682d1f9101c5a0eb4a
1
/*
2
pr78856.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
int
a
,
b
,
c
,
d
,
e
,
f
[
3
];
12
13
void
14
testTortureExecute
(
void
)
15
{
16
while
(
d
)
17
while
(
1
)
18
;
19
#if 0
// Enable when SDCC intermingles
20
int
g
=
0
,
h
,
i
=
0
;
21
for
(;
g
<
21
;
g
+=
9
)
22
{
23
int
j
=
1
;
24
for
(
h
=
0
;
h
<
3
;
h
++)
25
f
[
h
] =
1
;
26
for
(;
j
<
10
;
j
++) {
27
d
=
i
&& (
b
?
0
:
c
);
28
i
=
1
;
29
if
(
g
)
30
a
=
e
;
31
}
32
}
33
#endif
34
return
;
35
}
36