OSDN Git Service

2011-11-10 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / torture / pr51042.c
1 /* { dg-do compile } */
2
3 int a, b;
4
5 void
6 foo (int x)
7 {
8   int e[2];
9   int d;
10   while (x)
11     {
12       for (d = 0; d <= 1; d = 1)
13         if (e[a])
14           break;
15       for (b = 0; b <= 0; b = 1)
16         {
17           e[a] = a;
18           if (a)
19             break;
20         }
21     }
22 }