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-930719-1.c
blob
4cd768d68bab106d6bc78281791cdf8027d5ac13
1
/*
2
930719-1.c from the execute part of the gcc torture suite.
3
*/
4
5
#include <testfwk.h>
6
7
#ifdef __SDCC
8
#pragma std_c99
9
#endif
10
11
int
12
f
(
int
foo
,
int
bar
,
int
com
)
13
{
14
unsigned
align
=
0
;
15
if
(
foo
)
16
return
0
;
17
while
(
1
)
18
{
19
switch
(
bar
)
20
{
21
case
1
:
22
if
(
com
!=
0
)
23
return
align
;
24
*(
char
*)
0
=
0
;
25
}
26
}
27
}
28
29
void
30
testTortureExecute
(
void
)
31
{
32
f
(
0
,
1
,
1
);
33
return
;
34
}
35