Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / cunroll-2.c
blobb1d1c7d3d852c00ca269ab9fe49f717bf42a562c
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++)
11 a[i]=5;
12 if (test2())
13 return;
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"} } */