http://llvm.org/bugs/show_bug.cgi?id=14408
Bug #: 14408
Summary: unsupported inline asm: input with type 'long'
matching output with type 'int'
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
clang generate error instead of warning in the following testcase.
TestCase:
static inline __attribute__((no_instrument_function)) int ffs(int x)
{
int r;
long tmp = -1;
asm("bsfl %1,%0"
: "=r" (r)
: "rm" (x), "0" (tmp));
return r + 1;
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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