[LLVMbugs] [Bug 2345] New: ICE from svn 51266
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon May 19 13:57:25 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2345
Summary: ICE from svn 51266
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu
This is using LLVM for x86-32 on Ubuntu Feisty.
I hesitate to even report this bug because the crash is on bogus code -- I was
using LLVM for x86 to (mis)compile some C that contains AVR-specific inline
asm. But anyway:
[regehr at babel tmp6]$ llvm-gcc -S -O0 small.c
cc1: SelectionDAGISel.cpp:4184: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite): Assertion
`(OpInfo.ConstraintType == TargetLowering::C_RegisterClass ||
OpInfo.ConstraintType == TargetLowering::C_Register) && "Unknown constraint
type!"' failed.
small.c:6: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
[regehr at babel tmp6]$ cat small.c
int *foo;
void hello (void)
{
__asm__ ("lpm %0, Z"::"z"(foo));
}
--
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