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

     1  /* PR optimization/10817.
     2     Check that the following code doesn't cause any problems
     3     for GCC's if-conversion passes.  */
     4  
     5  int foo(int t)
     6  {
     7    int result = 0;
     8    if (t != 0)
     9      result = t;
    10    return result;
    11  }
    12