* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr79386.c
blob21b77597247abb21055cd1757cfd82edb4b53ab8
1 /* PR rtl-optimization/79386 */
3 int a, b;
5 int
6 foo (int x)
8 int c;
9 int *d, *e;
11 if (b == 0)
13 c = 0;
14 e = &b;
15 d = &b;
17 else
19 int f;
21 c = 1;
22 for (f = 0; f < 9; ++f)
23 c *= 3;
24 e = (int *) (__UINTPTR_TYPE__) c;
25 d = &x;
27 *e = c < 3;
28 if (*e != 0)
30 int g;
32 b += (a != 0) ? a : 1;
33 if (g != 0 || x != 0)
34 *d = 0;
35 if (b >= 0)
37 if (g != 0)
38 g = x;
39 if (*d / g != 0)
40 for (;;)
45 return b * (a != 0 && *d != 0);