1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/* { dg-do compile } */ /* { dg-additional-options "-w" } */ int a, *b, e; static int **c = &b; struct { int f0; } d; int * fn1 () { int f, **g = &b; e = a; for (; a;) for (; d.f0; d.f0++) ; *g = &f; return *c; }