☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
predict-11.c
☽
☼
gcc/testsuite/gcc.dg/predict-11.c
code
plain
raw
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"} } */