modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr49710.c (about)

     1  int a, b, c, d;
     2  
     3  static void
     4  foo (int *x)
     5  {
     6    c = 0;
     7    while (1)
     8      {
     9        if (*x)
    10  break;
    11        while (b)
    12  for (; c; c = 0);
    13        for (d = 18; d != 18; d++)
    14  if (c)
    15    {
    16      foo (x);
    17      return;
    18    }
    19      }
    20  }
    21  
    22  static void
    23  bar ()
    24  {
    25    foo (0);
    26    foo (0);
    27    for (;;)
    28      ;
    29  }
    30  
    31  baz ()
    32  {
    33    for (; a;)
    34      bar ();
    35  }