blob: aed5b8cb285cee4808f489e2db2ff41009e98e44 [file] [log] [blame]
/* PR target/17565. GCC used to put the asm into the delay slot
of the call. */
/* { dg-do assemble } */
/* { dg-mips-options "-O -mno-mips16" } */
int foo (int n)
{
register int k asm ("$16") = n;
if (k > 0)
{
bar ();
asm ("li %0,0x12345678" : "=r" (k));
}
return k;
}