* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr55832.c
blob221c3c988e664bc6124c76a94939ddfdaaeb7297
1 /* PR tree-optimization/55832 */
3 int g, b;
5 void
6 foo (void)
8 union U { int i; unsigned short s; } a = { 0 };
9 unsigned char c;
10 unsigned short d = 0, *p = &a.s;
12 if (g)
13 a.i--;
15 if (b && a.i < (d = 1))
16 return;
18 for (; a.i < 15; a.i++)
19 b |= d <= c;
21 if (!*p)
22 g = 0;