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

     1  /* PR rtl-optimization/57876 */
     2  
     3  extern void abort (void);
     4  int a, b = 1, c, *d = &c, f, *g, h, j;
     5  static int e;
     6  
     7  int
     8  main ()
     9  {
    10    int i;
    11    for (i = 0; i < 2; i++)
    12      {
    13        long long k = b;
    14        int l;
    15        for (f = 0; f < 8; f++)
    16  	{
    17  	  int *m = &e;
    18  	  j = *d;
    19  	  h = a * j - 1;
    20  	  *m = (h == 0) < k;
    21  	  g = &l;
    22  	}
    23      }
    24    if (e != 1)
    25      abort ();
    26    return 0;
    27  }