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

     1  /* PR tree-optimization/57331 */
     2  
     3  int
     4  foo (int x)
     5  {
     6    void *p = x ? (void *) 1 : (void *) 0;
     7    __INTPTR_TYPE__ b = (__INTPTR_TYPE__) p;
     8    if (b)
     9      return 0;
    10    return 1;
    11  }