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

     1  /* PR rtl-optimization/64756 */
     2  
     3  int a, *tmp, **c = &tmp;
     4  volatile int d;
     5  static int *volatile *e = &tmp;
     6  unsigned int f;
     7  
     8  static void
     9  fn1 (int *p)
    10  {
    11    int g;
    12    for (; f < 1; f++)
    13      for (g = 1; g >= 0; g--)
    14        {
    15  	d || d;
    16  	*c = p;
    17  
    18  	if (tmp != &a)
    19  	  __builtin_abort ();
    20  
    21  	*e = 0;
    22        }
    23  }
    24  
    25  int
    26  main ()
    27  {
    28    fn1 (&a);
    29    return 0;
    30  }