[llvm-bugs] [Bug 25501] New: Clang crashes with -fmodules to compile clang-interpreter/main.cpp
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 11 21:35:30 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25501
Bug ID: 25501
Summary: Clang crashes with -fmodules to compile
clang-interpreter/main.cpp
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Modules
Assignee: unassignedclangbugs at nondot.org
Reporter: geek4civic at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Classification: Unclassified
Created attachment 15270
--> https://llvm.org/bugs/attachment.cgi?id=15270&action=edit
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++.
--
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/20151112/27aec640/attachment-0001.html>
More information about the llvm-bugs
mailing list