summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pred-1.c
blob: 97e3cb78198bf6514207648ea4b62e07868a5c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */
int a[100];
void foo(int);
int
main()
{
  int i;
  for (i=0;i<100;i++)
    {
      if (a[i])
	continue;
       foo(i);
    }
}
// { dg-final { scan-tree-dump "continue heuristics" "profile_estimate" } }