(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
graphite/
pr68715-2.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-Ofast -floop-nest-optimize" } */
       3  
       4  int a, b, c, d, f, g;
       5  int e[1], h[1];
       6  void fn2 ();
       7  void fn3 ();
       8  void
       9  fn1 ()
      10  {
      11    fn2 ();
      12    b = 0;
      13    for (; b < 10; b++)
      14      ;
      15  }
      16  
      17  void
      18  fn2 ()
      19  {
      20    if (a)
      21      {
      22        fn3 ();
      23        c = d;
      24      }
      25  }
      26  
      27  void
      28  fn3 ()
      29  {
      30    for (; g; g++)
      31      e[g] = 2;
      32    if (f)
      33      for (; g; g++)
      34        h[g] = 5;
      35  }