blob: 52e50fc576cd8754b600385159ac351a8e6817d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/* Due to the specific structure of the control-flow graph there was a segmentation fault in iCode generatuion. */
#include <testfwk.h>
void set_b(void)
{
}
#if defined(__SDCC) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Weird issue in pdk14 / pdk15
__addressmod set_b b;
#else
#define b
#endif
int a0, a1, a2;
b int b0;
int b2, b1;
int x0, x1;
int f(void)
{
switch(x0)
{
case 0:
if(a0 && b0)
{
}
else
{
x0++;
}
return(b2);
default:
return(x1);
}
return(a2);
}
void testBug(void)
{
}
|