rt_gccstream/gcc/testsuite/gcc.c-torture/compile/20011205-1.c

11 lines
249 B
C

/* Failure to mark_addressable all operands before evaluation means we
don't set up the proper temporaries, which leaves us with an asm that
doesn't match its contraints. */
long foo()
{
long x;
asm("" : "=r"(x) : "m"(x));
return x;
}