(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr60866.c
       1  /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
       2  /* { dg-options "-O -fselective-scheduling -fno-if-conversion -fschedule-insns"  } */
       3  
       4  int n;
       5  
       6  void
       7  foo (int w, int **dnroot, int **dn)
       8  {
       9    int *child;
      10    int *xchild = xchild;
      11    for (; w < n; w++)
      12      if (!dnroot)
      13        {
      14  	dnroot = dn;
      15  	for (child = *dn; child; child = xchild)
      16  	  ;
      17        }
      18  }