Debian Codegraph @

gcc/testsuite/gcc.dg/tree-prof/wcoverage-mismatch.c

raw
1 /* { dg-options "-O2 -Wno-coverage-mismatch" } */
2
3 int __attribute__((noinline)) bar (void)
4 {
5 }
6
7 int foo (int i)
8 {
9 #ifdef _PROFILE_USE
10 if (i)
11 bar ();
12 #endif
13 return 0;
14 }
15
16 int main(int argc, char **argv)
17 {
18 foo (argc);
19 return 0;
20 }