Debian Codegraph @

gcc/testsuite/gcc.dg/tree-prof/update-cunroll-2.c

raw
1
2 /* { dg-options "-O2 -fdump-tree-optimized-details-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 int
14 main ()
15 {
16 int i;
17 for (i = 0; i < 1000; i++)
18 t ();
19 return 0;
20 }
21 /* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized" } } */