<html>
<head>
<base href="https://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 --- - Clang crashes with -fmodules to compile clang-interpreter/main.cpp"
href="https://llvm.org/bugs/show_bug.cgi?id=25501">25501</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang crashes with -fmodules to compile clang-interpreter/main.cpp
</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>Linux
</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>Modules
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>geek4civic@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15270" name="attach_15270" title="Reduced-testcase.zip (requires external libc++)">attachment 15270</a> <a href="attachment.cgi?id=15270&action=edit" title="Reduced-testcase.zip (requires external libc++)">[details]</a></span>
Reduced-testcase.zip (requires external libc++)
$ clang++ -std=c++11 -stdlib=libc++ -I llvm/include -I clang/include
-fsyntax-only -fmodules clang-interpreter-main.cpp
clang-3.8: clang/lib/Serialization/ASTReaderDecl.cpp:1493: void
clang::ASTDeclReader::MergeDefinitionData(clang::CXXRecordDecl *, struct
CXXRecordDecl::DefinitionData &&): Assertion
`Reader.Lookups.find(MergeDD.Definition) == Reader.Lookups.end() && "already
loaded pending lookups for merged definition"' failed.
A reduced testcase is attached. Excuse me, I haven't reduced libc++.</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>