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
* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr43791.c
blob
2b1d06ff78912cd83749c2de8ff4fdfd133848a5
1
int
owner
();
2
int
clear
();
3
4
static void
fixup
() {
5
clear
();
6
}
7
8
inline
__attribute__
((
always_inline
))
9
void
slowtrylock
(
void
) {
10
if
(
owner
())
11
fixup
();
12
}
13
14
void
fasttrylock
(
void
(*
slowfn
)()) {
15
slowfn
();
16
}
17
18
void
trylock
(
void
) {
19
fasttrylock
(
slowtrylock
);
20
}