<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 --- - Compilation crash with assertion "RTTI info cannot have top-level qualifiers""
href="http://llvm.org/bugs/show_bug.cgi?id=16596">16596</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Compilation crash with assertion "RTTI info cannot have top-level qualifiers"
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>devlists@shadowlab.org
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10868" name="attach_10868" title="Test case and invocation.">attachment 10868</a> <a href="attachment.cgi?id=10868&action=edit" title="Test case and invocation.">[details]</a></span>
Test case and invocation.
Here is the stack trace:
Assertion failed: (!Ty.hasQualifiers() && "RTTI info cannot have top-level
qualifiers"), function mangleCXXRTTI, file
/Users/jddupas/Projects/llvm/llvm/tools/clang/lib/AST/ItaniumMangle.cpp, line
3692.
…
5 clang-3.4 0x000000010cad7681 __assert_rtn + 81
6 clang-3.4 0x000000010cc187d9 (anonymous
namespace)::ItaniumMangleContext::mangleCXXRTTI(clang::QualType,
llvm::raw_ostream&) + 265
7 clang-3.4 0x000000010cde5916 (anonymous
namespace)::RTTIBuilder::BuildTypeInfo(clang::QualType, bool) + 166
8 clang-3.4 0x000000010cde68f6 (anonymous
namespace)::RTTIBuilder::BuildTypeInfo(clang::QualType, bool) + 4230
9 clang-3.4 0x000000010cde57d1
clang::CodeGen::CodeGenModule::GetAddrOfRTTIDescriptor(clang::QualType, bool) +
209
10 clang-3.4 0x000000010cd8e4ff
clang::CodeGen::CodeGenFunction::EmitCXXTypeidExpr(clang::CXXTypeidExpr const*)
+ 79
The attachment contains 3 files:
cv.cpp: a reduced test case that depends on libc++ <functional>
cv.ii: a preprocessed version of the test case (produced by the clang crash
handler).
cv.sh: the compilation script (produced by the clang crash handler).
Trying to compile cv.cpp using the following command line makes clang crash:
clang++ -std=c++11 -stdlib=libc++ -c cv.cpp</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>