OSDN Git Service

2012-02-28 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / torture / pr49518.c
1 /* { dg-do compile } */
2
3 int a, b;
4 struct S { unsigned int s, t, u; } c, d = { 0, 1, 0 };
5
6 void
7 test (unsigned char z)
8 {
9   char e[] = {0, 0, 0, 0, 1};
10   for (c.s = 1; c.s; c.s++)
11     {
12       b = e[c.s];
13       if (a)
14         break;
15       b = z >= c.u;
16       if (d.t)
17         break;
18     }
19 }