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

     1  /* PR rtl-optimization/64260 */
     2  
     3  int a = 1, b;
     4  
     5  void
     6  foo (char p)
     7  {
     8    int t = 0;
     9    for (; b < 1; b++)
    10      {
    11        int *s = &a;
    12        if (--t)
    13  	*s &= p;
    14        *s &= 1;
    15      }
    16  }
    17  
    18  int
    19  main ()
    20  {
    21    foo (0);
    22    if (a != 0)
    23      __builtin_abort ();
    24    return 0;
    25  }