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)
7 {
8 int i,j;
9 for (i=0;i<n;i++)
10 if (a[i])
11 for (j=0;j<m;j++)
12 test();
13 }
14 /* { dg-final { scan-tree-dump-times "loop guard" 1 "profile_estimate"} } */