blob: 1d36d843d2f5422e8abf5d060d8ffba7b133b3c4 [file] [log] [blame]
// PR target/84828
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-options "-Og -mno-sse2" }
void
foo (float b, double c)
{
for (int e = 0; e < 2; e++)
{
asm volatile ("" : "+f" (c)); // { dg-error "must specify a single register" }
asm ("" : "+rm" (c = b));
}
}