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-pr68376-1.c
blob
622f6ba00b3d4d5ff61954cad9b9b7ba90cf967d
1
/*
2
pr68376-1.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
/* PR rtl-optimization/68376 */
8
9
int
a
,
b
,
c
=
1
;
10
signed char
d
;
11
12
void
13
testTortureExecute
(
void
)
14
{
15
for
(;
a
<
1
;
a
++)
16
for
(;
b
<
1
;
b
++)
17
{
18
signed char
e
= ~
d
;
19
if
(
d
<
1
)
20
e
=
d
;
21
d
=
e
;
22
if
(!
c
)
23
ASSERT
(
0
);
24
}
25
26
if
(
d
!=
0
)
27
ASSERT
(
0
);
28
29
return
;
30
}