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

     1  /* PR tree-optimization/49712 */
     2  
     3  int a[2], b, c, d, e;
     4  
     5  void
     6  foo (int x, int y)
     7  {
     8  }
     9  
    10  int
    11  bar (void)
    12  {
    13    int i;
    14    for (; d <= 0; d = 1)
    15      for (i = 0; i < 4; i++)
    16        for (e = 0; e; e = 1)
    17  	;
    18    return 0;
    19  }
    20  
    21  int
    22  main ()
    23  {
    24    for (b = 0; b < 2; b++)
    25      while (c)
    26        foo (a[b] = 0, bar ());
    27    return 0;
    28  }