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
Add malloc predictor (PR middle-end/83023).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
uninit-pr81897.c
blob
0323050839d70017cae19c9fa0d81abb4fb917e0
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -Wuninitialized" } */
3
4
int
f
(
void
);
5
static
inline
void
rcu_read_unlock
(
void
)
6
{
7
static
_Bool __warned
;
8
if
(
f
() && !
__warned
&& !
f
()) {
9
__warned
=
1
;
10
}
11
}
12
int
inet6_rtm_getroute
(
void
)
13
{
14
int
dst
;
15
int
fibmatch
=
f
();
16
17
if
(!
fibmatch
)
18
dst
=
f
();
19
rcu_read_unlock
();
20
if
(
fibmatch
)
21
dst
=
0
;
22
23
return
dst
;
24
}