1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fdump-tree-cunrolli-details" } */
       3  int a[1];
       4  void
       5  test(int c)
       6  { 
       7    int i;
       8    for (i=0;i<c;i++)
       9      {
      10        a[i]=5;
      11      }
      12  }
      13  /* If we start duplicating headers prior curoll, this loop will have 0 iterations.  */
      14  
      15  /* { dg-final { scan-tree-dump "loop with 1 iterations completely unrolled" "cunrolli"} } */