http://llvm.org/bugs/show_bug.cgi?id=15494
Bug ID: 15494
Summary: Unsupported asm: input constraint with a matching
output constraint of incompatible type
Product: clang
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
The following testcase compiles with GCC but not with clang:
struct X { float a; };
void f() {
X tmp0;
asm volatile("":"+r"(tmp0));
}
The error message is:
fatal error: error in backend: Unsupported asm: input constraint with a
matching output constraint of incompatible type!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs