valid inline asm rejected #1205
Labels
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
llvm-tools
All llvm tools that do not have corresponding tag
Extended Description
This:
int G;
int foo(int X) {
asm volatile ("xchg{l} {%0,%1|%1,%0}"
: "=m" (G), "+r" (X) : "m" (G));
return X;
}
Is rejected with:
asm.c:4: error: Invalid or unsupported inline assembly!
-Chris
The text was updated successfully, but these errors were encountered: