1  /* { dg-do compile } */
       2  
       3  int a, b, c, *d, *f[1];
       4  
       5  void fn1 (int *j)
       6  {
       7    int e, g, h = 1;
       8    for (; e; e++)
       9      {
      10        if (g > 0)
      11          {
      12            d = j;
      13            return;
      14          }
      15        if (!h)
      16          while (g)
      17            ;
      18        while (h < 1)
      19          if (a)
      20            {
      21              fn1 (&h);
      22              h = 0;
      23            }
      24        f[e] = &c;
      25      }
      26    while (1)
      27      ;
      28  }