1 /* { dg-do compile } */
2
3 static char func2() { }
4
5 struct S0
6 {
7 int t;
8 };
9
10 int g;
11
12 struct S0 s0;
13
14 int
15 foo (int arg)
16 {
17 int *ptr = &g;
18 int i, j;
19 for (i = 0; i < 10; i += 1)
20 {
21 for (j = 0; j < 1; j += 1)
22 {
23 int k;
24 if (arg)
25 {
26 int l;
27 for (k = 1; arg < 10; arg = func2 ())
28 {
29 return l;
30 }
31 }
32 *ptr = func2 () ^ s0.t;
33 }
34 }
35 }
36