struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-pr68321.c
blobeb76d5d03f9733eab690366b99c78dba79436851
1 /*
2 pr68321.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/68321 */
13 int e = 1, u = 5, t2, t5, i, k;
14 int a[1], b, m;
15 char n, t;
17 int
18 fn1 (int p1)
20 int g[1];
21 for (;;)
23 if (p1 / 3)
24 for (; t5;)
25 u || n;
26 t2 = p1 & 4;
27 if (b + 1)
28 return 0;
29 u = g[0];
33 void
34 testTortureExecute (void)
36 for (; e >= 0; e--)
38 char c;
39 if (!m)
40 c = t;
41 fn1 (c);
44 ASSERT (a[t2] == 0);
46 return;