<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Regression: Assertion failed: ((!TParams || DbgNode->getNumOperands() == 14) && "If you're setting the template parameters this should include a slot " "for that!"), function setTypeArray, file DebugInfo.cpp, line 623."
href="http://llvm.org/bugs/show_bug.cgi?id=15637">15637</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression: Assertion failed: ((!TParams || DbgNode->getNumOperands() == 14) && "If you're setting the template parameters this should include a slot " "for that!"), function setTypeArray, file DebugInfo.cpp, line 623.
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>LLVM Codegen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>This is reduced from code in WebKit:
thakis$ cat repro.ii
template <typename T> union Value { int a; };
void g(float value) {
Value<float> tempValue;
}
thakis$ ~/src/llvm-svn/Release+Asserts/bin/clang -cc1 -triple
i386-apple-macosx10.6.0 -emit-obj -g -x c++ repro.ii
Assertion failed: ((!TParams || DbgNode->getNumOperands() == 14) && "If you're
setting the template parameters this should include a slot " "for that!"),
function setTypeArray, file DebugInfo.cpp, line 623.
0 clang 0x000000010b58cbf8 llvm::sys::PrintStackTrace(__sFILE*) +
40
1 clang 0x000000010b58d154 SignalHandler(int) + 548
2 libsystem_c.dylib 0x00007fff87fa194a _sigtramp + 26
3 clang 0x000000010b4b844c llvm::DIDescriptor::isCompositeType()
const + 28
4 clang 0x000000010b58cf16 abort + 22
5 clang 0x000000010b58cef1 __assert_rtn + 81
6 clang 0x000000010b4b9846
llvm::DICompositeType::setTypeArray(llvm::DIArray, llvm::DIArray) + 278
7 clang 0x0000000109f746e4
clang::CodeGen::CGDebugInfo::CreateType(clang::RecordType const*) + 1268
This is at r178474 (which was current trunk when I started delta an hour or so
ago). Doesn't happen at r178178.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>