modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr56539.c (about)

     1  /* PR tree-optimization/56539 */
     2  
     3  short
     4  foo (const char *x, unsigned y)
     5  {
     6    return y > 1 ? (x[y - 1] - '0') + 10 * foo (x, y - 1) : (*x - '0');
     7  }