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