-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
| Bugzilla Link | 2345 |
| Resolution | FIXED |
| Resolved on | Sep 06, 2010 00:02 |
| Version | unspecified |
| OS | Linux |
| Blocks | #1234 |
Extended Description
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@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@babel tmp6]$ cat small.c
int *foo;
void hello (void)
{
asm ("lpm %0, Z"::"z"(foo));
}