[LLVMbugs] [Bug 2023] New: Crash in llc with unusual initializer
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Feb 13 04:14:37 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=2023
Summary: Crash in llc with unusual initializer
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: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
@b = global i16 ptrtoint (i16* @b to i16)
run through llvm-as | llc, should generate code that initializes the global
appropriately.
Current output:
llc: /home/eli/llvm/lib/CodeGen/AsmPrinter.cpp:789: void
llvm::AsmPrinter::EmitConstantValueOnly(const llvm::Constant*): Assertion `0 &&
"FIXME: Don't yet support this kind of constant cast expr"' failed.
Fixing this isn't really a high priority for me, but I would like to know
whether the fact that this doesn't work is considered a bug; see
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-February/001054.html. I'm in
the process of considering how to handle constant expressions in clang, and
this affects what clang should accept as a constant expression.
--
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