repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.target
/
mips
/
asm-1.c
blob
aed5b8cb285cee4808f489e2db2ff41009e98e44
1
/* PR target/17565. GCC used to put the asm into the delay slot
2
of the call. */
3
/* { dg-do assemble } */
4
/* { dg-mips-options "-O -mno-mips16" } */
5
int
foo
(
int
n
)
6
{
7
register
int
k
asm
(
"$16"
) =
n
;
8
if
(
k
>
0
)
9
{
10
bar
();
11
asm
(
"li %0,0x12345678"
:
"=r"
(
k
));
12
}
13
return
k
;
14
}