Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / tracer-1.c
blob7654a533c829406a3974b9ea58e9c3a80bc5b443
1 /* { dg-options "-O2 -ftracer -fdump-tree-tracer" } */
2 main ()
4 int i;
5 int a, b, c;
6 for (i = 0; i < 1000; i++)
8 if (i % 17)
9 a++;
10 else
11 b++;
12 c++;
14 return 0;
16 /* Superblock formation should produce two copies of the increment of c */
17 /* { dg-final-generate { scan-tree-dump-times "goto <bb 6>;" 2 "tracer" } } */
18 /* { dg-final-use { cleanup-tree-dump "tracer" } } */