New vectorizer messages; message format change.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / cunroll-4.c
blob86e12bbb4194cf8f5ea03ce89dc0e6b0666528b9
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-ivcanon-details" } */
3 int a[1];
4 test(int c)
5 {
6 int i=0,j;
7 for (i=0;i<c;i++)
9 for (j=0;j<c;j++)
11 a[i]=5;
12 test2();
17 /* We should do this as part of cunrolli, but our cost model do not take into account early exit
18 from the last iteration. */
19 /* { dg-final { scan-tree-dump "loop turned into non-loop; it never loops." "ivcanon"} } */
20 /* { dg-final { scan-tree-dump "Last iteration exit edge was proved true." "ivcanon"} } */
21 /* { dg-final { cleanup-tree-dump "ivcanon" } } */