repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from tree-cleanup-branch: VRP, store CCP, store
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.misc-tests
/
gcov-10.c
blob
bd1d418f378a9cc9482b581205416fa2bd80c313
1
/* Test gcov block mode. */
2
3
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
4
/* { dg-do run { target native } } */
5
6
int
main
()
7
{
8
unsigned
ix
,
jx
=
0
;
9
10
for
(
ix
=
10
;
ix
--;)
if
(
ix
&
1
)
jx
++;
/* count(11) */
11
12
return
jx
!=
5
;
13
}
14
15
/* { dg-final { run-gcov { -a gcov-10.c } } } */