(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
cunroll-2.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O3 -fdump-tree-cunroll-details" } */
       3  int a[2];
       4  int test2 (void);
       5  void
       6  test(int c)
       7  { 
       8    int i;
       9    for (i=0;i<c;i++)
      10      {
      11        a[i]=5;
      12        if (test2())
      13  	return;
      14      }
      15  }
      16  /* We are not able to get rid of the final conditional because the loop has two exits.  */
      17  /* { dg-final { scan-tree-dump "loop with 1 iterations completely unrolled" "cunroll"} } */