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
Reset branch to trunk.
[official-gcc.git]
/
trunk
/
gcc
/
testsuite
/
gcc.dg
/
tree-prof
/
wcoverage-mismatch.c
blob
74fe7f8e9c85211d28f9f1196841ed11126a3dd9
1
/* { dg-options "-O2 -Wcoverage-mismatch -w" } */
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
}