Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-prof / update-cunroll-2.c
blobd559b924535e2cd9830c1a5bc2738eccc4c0dda2
2 /* { dg-options "-O2 -fdump-tree-optimized-blocks" } */
3 int a[8];
4 __attribute__ ((noinline))
5 int t()
7 int i;
8 for (i = 0; i < 3; i++)
9 if (a[i])
10 break;
11 return i;
13 main ()
15 int i;
16 for (i = 0; i < 1000; i++)
17 t ();
18 return 0;
20 /* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */
21 /* { dg-final-use { cleanup-tree-dump "optimized" } } */