http://llvm.org/bugs/show_bug.cgi?id=3257
Summary: llvm-gcc rejects "+g" constraint
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Testcase:
void x()
{
int a;
__asm__ volatile(
""
:"+g"(a));
}
Compiled with llvm-gcc on x86, gives the following error:
<stdin>:4: error: Unsupported inline asm: input constraint with a matching
output constraint of incompatible type!
(Testcase reduced from ffmpeg.)
--
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