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

     1  /*  PR tree-optimization/12517  */
     2  
     3  int f(void);
     4  void g(int);
     5  void h(int a, int b, int c)
     6  {
     7      int i = f();
     8  
     9      if (b && (i & 4))
    10  	g(i & 8 ? 0 : 1);
    11      if (a) {
    12  	do {
    13  	    if (i & 8)
    14  		g(0);
    15  	    if (i & 4)
    16  		g(i ? 0 : 1);
    17  	} while (--c);
    18      }
    19  }