1 /* { dg-do compile } */ 2 3 struct S { int s; } a, *b, **c; 4 int d; 5 6 struct S foo(void)7 foo (void) 8 { 9 struct S s = { 0 }, *e = &a; 10 if (d) 11 **c = *b; 12 while (1) 13 { 14 *b = s; 15 *e = *b; 16 if (a.s) 17 break; 18 } 19 return **c; 20 } 21