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
/
pr51767.c
blob
62a192d660d8c13ce4c25ad34496983fa8c90185
1
/* PR rtl-optimization/51767 */
2
3
extern
void
fn1
(
void
),
fn2
(
void
);
4
5
static
inline
__attribute__
((
always_inline
))
int
6
foo
(
int
*
x
,
long
y
)
7
{
8
asm goto
(
""
: :
"r"
(
x
),
"r"
(
y
) :
"memory"
:
lab
);
9
return
0
;
10
lab
:
11
return
1
;
12
}
13
14
void
15
bar
(
int
*
x
)
16
{
17
if
(
foo
(
x
,
23
))
18
fn1
();
19
else
20
fn2
();
21
22
foo
(
x
,
2
);
23
}