[LLVMbugs] [Bug 22212] New: Crash on invalid in IR/Metadata.cpp: `isOperandUnresolved(New) && "Operand just became unresolved"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 12 18:15:10 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22212
Bug ID: 22212
Summary: Crash on invalid in IR/Metadata.cpp:
`isOperandUnresolved(New) && "Operand just became
unresolved"' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
Assignee: unassignedbugs at nondot.org
Reporter: paul_robinson at playstation.sony.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Crashes r225743 in IR/Metadata.cpp with
`isOperandUnresolved(New) && "Operand just became unresolved"' failed.
Compile with -c -g -std=c++14.
template <typename T> T crazy = T();
long foo() {
crazy<int> = 5;
crazy<short> = 10;
return crazy<int> + crazy<short>;
}
// Missing 'template<>' here
long crazy<long> = 8;
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150113/ad050b1a/attachment.html>
More information about the llvm-bugs
mailing list