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

     1  /* PR tree-optimization/32139 */
     2  int foo (void);
     3  int bar (void) __attribute__ ((const));
     4  
     5  int
     6  test (int x)
     7  {
     8    int a = (x == 10000 ? foo : bar) ();
     9    int b = (x == 10000 ? foo : bar) ();
    10    return a + b;
    11  }