struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-pr68250.c
blob3643d5872c0cf072aaafbbe87e19e2587bf5c2c1
1 /*
2 pr68250.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma disable_warning 84
9 #endif
11 /* PR rtl-optimization/68250 */
13 signed char a, b, h, k, l, m, o;
14 short c, d, n;
15 int e, f, g, j, q;
17 void
18 fn1 (void)
20 int p = b || a;
21 n = o > 0 || d > 1 >> o ? d : d << o;
22 for (; j; j++)
23 m = c < 0 || m || c << p;
24 l = f + 1;
25 for (; f < 1; f = 1)
26 k = h + 1;
29 void
30 fn2 (int k)
32 ASSERT (k == 1);
35 void
36 testTortureExecute (void)
38 signed char i;
39 for (; e < 1; e++)
41 fn1 ();
42 if (k)
43 i = k;
44 if (i > q)
45 g = 0;
47 fn2 (k);
48 return;