1 /* { dg-do compile } */
2 /* { dg-options "-Wno-aggressive-loop-optimizations" } */
3 
4 int a, b;
5 struct S { unsigned int s, t, u; } c, d = { 0, 1, 0 };
6 
7 void
test(unsigned char z)8 test (unsigned char z)
9 {
10   char e[] = {0, 0, 0, 0, 1};
11   for (c.s = 1; c.s; c.s++)
12     {
13       b = e[c.s];
14       if (a)
15 	break;
16       b = z >= c.u;
17       if (d.t)
18 	break;
19     }
20 }
21