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-pr66187.c
blob
96dc0f0b2ef3661770e1df5b4dcdd5d9957f91d5
1
/*
2
pr66187.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
/* PR tree-optimization/66187 */
8
9
int
a
=
1
,
e
= -
1
;
10
short
b
,
f
;
11
12
void
13
testTortureExecute
(
void
)
14
{
15
f
=
e
;
16
#if 0
// Enable when SDCC supports intermingling
17
int
g
=
b
<
0
?
0
:
f
+
b
;
18
if
((
g
& -
4
) <
0
)
19
a
=
0
;
20
if
(
a
)
21
ASSERT
(
0
);
22
#endif
23
return
;
24
}