2 20180921-1.c from the execute part of the gcc torture tests.
7 /* PR tree-optimization/86990 */
8 /* Testcase by Zhendong Su <su@cs.ucdavis.edu> */
10 #if 0 // TODO: Enable when SDCC supports all types of bracing in initialization!
13 int dummy (const char *s
, ...)
19 static int j
, v
, e
, f
, h
= 5, k
, l
, n
, o
, p
, q
, r
, s
, u
, w
, x
, y
, z
, aa
, ab
, ac
,
20 ad
, ae
, af
, ag
= 8, ah
, ai
, aj
, ak
, al
;
27 static short m
[1], t
= 95, am
;
30 j
= j
& 5 ^ i
[j
^ v
& 5];
31 j
= j
& 5 ^ i
[(j
^ v
) & 5];
32 j
= j
& 4095 ^ (j
^ v
) & 5;
38 static unsigned at() {
39 int au
[] = {2080555007, 0};
53 int ax
[] = {9, 5, 5, 9, 5}, ay
= 3;
56 an
= (as((at(), ax
)[2]), ax
[4]);
58 int ba
[] = {5, 5, 9, 8, 1, 0, 5, 5, 9, 8, 1, 0,
59 5, 5, 9, 8, 1, 0, 5, 5, 9, 8, 1};
60 int a
[] = {8, 2, 8, 2, 8, 2, 8};
61 int b
[] = {1027239, 8, 1, 7, 9, 2, 9, 4, 4, 2, 8, 1, 0, 4, 4, 2,
62 4, 4, 2, 9, 2, 9, 8, 1, 7, 9, 2, 9, 4, 4, 2};
69 if (bc
.c
< g
.d
<= a
[7])
74 int d
[20] = {1, 9, 7, 7, 8, 4, 4, 4, 4, 8, 1, 9, 7, 7, 8, 4, 4, 4, 4};
83 struct a bf
= {908, 5, 3};
84 int bg
[3], bh
= k
, bj
= ag
| ae
, bk
= aj
+ 3, bl
= u
<< e
;
133 int bn
[] = {5, 2, 2, 5, 2, 2, 5, 2, 2, 5, 2, 2, 5, 2, 2, 5,
134 2, 2, 5, 2, 2, 5, 2, 2, 5, 2, 2, 5, 2, 2, 5, 2,
135 2, 5, 2, 2, 5, 2, 2, 5, 2, 2, 5, 2, 2, 5, 2};
136 struct a a
[] = {3440025416, 2, 8, 4, 2, 8, 4, 4, 2, 8, 4};
137 struct a b
= {3075920};
163 testTortureExecute (void)