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

     1  /* PR rtl-optimization/57281 */
     2  
     3  int a = 1, b, d, *e = &d;
     4  long long c, *g = &c;
     5  volatile long long f;
     6  
     7  int
     8  foo (int h)
     9  {
    10    int j = *g = b;
    11    return h == 0 ? j : 0;
    12  }
    13  
    14  int
    15  main ()
    16  {
    17    int h = a;
    18    for (; b != -20; b--)
    19      {
    20        (int) f;
    21        *e = 0;
    22        *e = foo (h);
    23      }
    24    return 0;
    25  }