(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr87117-1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fno-inline -fno-tree-dce" } */
       3  
       4  int a, b, c;
       5  long *d;
       6  void fn1()
       7  {
       8    for (; 0 < a;)
       9      a++;
      10  }
      11  void fn3()
      12  {
      13    for (; c; c++)
      14      d[c] = 0;
      15  }
      16  void fn2()
      17  {
      18    if (b)
      19      fn3();
      20    fn1();
      21  }