1 /* Test gcov block mode.  */
2 
3 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
4 /* { dg-do run { target native } } */
5 
main()6 int main ()
7 {
8   unsigned ix, jx = 0;
9 
10   ix = 10; goto test; loop: ; if (ix & 1) jx++; test: ; if (ix--) goto loop; /* count(11) */
11 
12   return jx != 5;
13 }
14 
15 /* { dg-final { run-gcov { -a gcov-10b.c } } } */
16 
17