[LLVMbugs] [Bug 3258] New: Crash in IRGen with invalid asm
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Dec 22 17:57:33 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3258
Summary: Crash in IRGen with invalid asm
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
void x()
{
int a;
__asm__ (
"%0 %1"
:"=r"(a));
}
Currently crashes with the following:
clang: /home/eli/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:768: std::string
ConvertAsmString(const clang::AsmStmt&, bool&): Assertion `0 && "Operand number
out of range!"' failed.
I think this issue should be caught by Sema.
--
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.
More information about the llvm-bugs
mailing list