Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / val-prof-9.c
blob8fc23015938a29ca793276115e3a826aa4bf0238
1 /* { dg-options "-O0 -fdump-tree-optimized" } */
3 int
4 main (int argc, char **argv)
6 unsigned u = (argc - 1);
7 int counter = 0;
9 for (unsigned i = 0; i < 100; i++)
11 counter += u % 16;
14 return counter;
17 /* autofdo does not do value profiling so far */
18 /* { dg-final-use-not-autofdo { scan-tree-dump-times "__gcov_pow2_profiler" 0 "optimized" } } */