PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / predict-11.c
blobb2ac8cc6f460c8c8892b69aa4d34ed663bace3ec
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
3 int *a,n,m;
4 void test(void);
5 void
6 t(void)
8 int i,j;
9 for (i=0;i<n;i++)
10 if (a[i])
11 for (j=0;j<m;j++)
12 test();
14 /* { dg-final { scan-tree-dump-times "loop guard" 1 "profile_estimate"} } */