Fix all tests that fail with -sanitize=return.
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pred-1.C
blob01b065ee96615cff69e8ce752915c58f670239d9
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
3 int a[100];
4 void foo(int);
5 main()
7   int i;
8   for (i=0;i<100;i++)
9     {
10       if (a[i])
11         continue;
12        foo(i);
13     }
15 // { dg-final { scan-tree-dump "continue heuristics" "profile_estimate" } }