cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag.
[gcc.git] / gcc / testsuite / gcc.dg / tree-prof / update-cunroll-2.c
1
2 /* { dg-options "-O2 -fdump-tree-optimized-blocks" } */
3 int a[8];
4 __attribute__ ((noinline))
5 int t()
6 {
7 int i;
8 for (i = 0; i < 3; i++)
9 if (a[i])
10 break;
11 return i;
12 }
13 main ()
14 {
15 int i;
16 for (i = 0; i < 1000; i++)
17 t ();
18 return 0;
19 }
20 /* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */
21 /* { dg-final-use { cleanup-tree-dump "optimized" } } */