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

     1  /* PR tree-optimization/38807 */
     2  
     3  int
     4  baz (short x)
     5  {
     6    return x;
     7  }
     8  
     9  int a, b;
    10  
    11  int
    12  bar (int x)
    13  {
    14    if (baz (a ^ x ^ a))
    15      return b;
    16    return 0;
    17  }
    18  
    19  int
    20  foo (void)
    21  {
    22    return bar (a == 0 || 1 == 1 - a) ? 1 : bar (1 && a);
    23  }