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: unassignedclangb...@nondot.org Reporter: geek4ci...@gmail.com CC: dgre...@apple.com, llvm-bugs@lists.llvm.org, richard-l...@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs