[llvm-bugs] [Bug 37364] New: Segmentation fault

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 7 23:35:24 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37364

            Bug ID: 37364
           Summary: Segmentation fault
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: twesterhout at protonmail.com
                CC: llvm-bugs at lists.llvm.org

Recompiled LLVM today at night, segfault's still there. Here's a rather long
backtrace:

1.      /home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp:158:1
<Spelling=/home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp:145:69>: current
parser token ')'
2.      /home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp:158:1
<Spelling=/home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp:142:5>: parsing
function body 'TestCode0_SingleFlip10_Test::TestBody'
3.      /home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp:158:1
<Spelling=/home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp:142:5>: in compound
statement ('{}')
4.      /home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp:79:6: instantiating
function definition 'single_flip_test<tcm::RbmBase<std::complex<float>,
tcm::mkl::mkl_allocator<std::complex<float>, 64>, void> >'
5.      /home/tom/src/tcm-swarm/cbits/test/../metropolis_local.hpp:366:16:
instantiating function definition
'tcm::sequential_local_metropolis<tcm::RbmBase<std::complex<float>,
tcm::mkl::mkl_allocator<std::complex<float>, 64>, void>, std::tuple<int, long,
long>, (lambda at /home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp:134:9),
std::mersenne_twister_engine<unsigned long, 32, 624, 397, 31, 2567483615, 11,
4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253> >'
#0 0x000055a81ba78d24 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/tom/clang-trunk/bin/clang-7.0+0xdb1d24)
#1 0x000055a81ba77b06 llvm::sys::RunSignalHandlers()
(/home/tom/clang-trunk/bin/clang-7.0+0xdb0b06)
#2 0x000055a81ba77e90 SignalHandler(int)
(/home/tom/clang-trunk/bin/clang-7.0+0xdb0e90)
#3 0x00007f811ecbdf50 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x11f50)
#4 0x000055a81c906a6d clang::QualifiedTypeLoc::getNextTypeLoc() const
(/home/tom/clang-trunk/bin/clang-7.0+0x1c3fa6d)
#5 0x000055a81c907375 clang::TypeLocVisitor<(anonymous namespace)::NextLoc,
clang::TypeLoc>::Visit(clang::TypeLoc) (.isra.556)
(/home/tom/clang-trunk/bin/clang-7.0+0x1c40375)
#6 0x000055a81c907828 clang::TypeLoc::getFullDataSizeForType(clang::QualType)
(/home/tom/clang-trunk/bin/clang-7.0+0x1c40828)
#7 0x000055a81c80dd00 clang::ASTContext::CreateTypeSourceInfo(clang::QualType,
unsigned int) const (/home/tom/clang-trunk/bin/clang-7.0+0x1b46d00)
#8 0x000055a81c80dd2f
clang::ASTContext::getTrivialTypeSourceInfo(clang::QualType,
clang::SourceLocation) const (/home/tom/clang-trunk/bin/clang-7.0+0x1b46d2f)
#9 0x000055a81c7609b2 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformTemplateArgument(clang::TemplateArgumentLoc
const&, clang::TemplateArgumentLoc&, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a999b2)
#10 0x000055a81c762d99 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformTemplateSpecializationType(clang::TypeLocBuilder&,
clang::TemplateSpecializationTypeLoc, clang::TemplateName)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a9bd99)
#11 0x000055a81c75bc95 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformType(clang::TypeLocBuilder&,
clang::TypeLoc) (/home/tom/clang-trunk/bin/clang-7.0+0x1a94c95)
#12 0x000055a81c75a733 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformType(clang::TypeLocBuilder&,
clang::TypeLoc) (/home/tom/clang-trunk/bin/clang-7.0+0x1a93733)
#13 0x000055a81c75d684 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformType(clang::TypeSourceInfo*)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a96684)
#14 0x000055a81c7632dd clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName, bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a9c2dd)
#15 0x000055a81c753b59 clang::Sema::SubstParmVarDecl(clang::ParmVarDecl*,
clang::MultiLevelTemplateArgumentList const&, int, llvm::Optional<unsigned
int>, bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a8cb59)
#16 0x000055a81c753f09 (anonymous
namespace)::TemplateInstantiator::TransformFunctionTypeParam(clang::ParmVarDecl*,
int, llvm::Optional<unsigned int>, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a8cf09)
#17 0x000055a81c7543a1 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformFunctionTypeParams(clang::SourceLocation,
llvm::ArrayRef<clang::ParmVarDecl*>, clang::QualType const*,
clang::FunctionProtoType::ExtParameterInfo const*,
llvm::SmallVectorImpl<clang::QualType>&,
llvm::SmallVectorImpl<clang::ParmVarDecl*>*,
clang::Sema::ExtParameterInfoBuilder&)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a8d3a1)
#18 0x000055a81c76b042
clang::Sema::SubstFunctionDeclType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName, clang::CXXRecordDecl*, unsigned int)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aa4042)
#19 0x000055a81c76e845
clang::TemplateDeclInstantiator::SubstFunctionType(clang::FunctionDecl*,
llvm::SmallVectorImpl<clang::ParmVarDecl*>&)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aa7845)
#20 0x000055a81c776761
clang::TemplateDeclInstantiator::VisitFunctionDecl(clang::FunctionDecl*,
clang::TemplateParameterList*) (/home/tom/clang-trunk/bin/clang-7.0+0x1aaf761)
#21 0x000055a81c773a4c clang::Sema::SubstDecl(clang::Decl*,
clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aaca4c)
#22 0x000055a81c74c6ec
clang::Sema::FinishTemplateArgumentDeduction(clang::FunctionTemplateDecl*,
llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl<clang::Sema::OriginalCallArg> const*, bool,
llvm::function_ref<bool ()>) (/home/tom/clang-trunk/bin/clang-7.0+0x1a856ec)
#23 0x000055a81c74e503
clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*,
clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, bool,
llvm::function_ref<bool (llvm::ArrayRef<clang::QualType>)>)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a87503)
#24 0x000055a81c6cc874
clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*,
clang::DeclAccessPair, clang::TemplateArgumentListInfo*,
llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a05874)
#25 0x000055a81c6584bb
clang::Sema::DeduceTemplateSpecializationFromInitializer(clang::TypeSourceInfo*,
clang::InitializedEntity const&, clang::InitializationKind const&,
llvm::MutableArrayRef<clang::Expr*>)::'lambda'(bool)::operator()(bool) const
(/home/tom/clang-trunk/bin/clang-7.0+0x19914bb)
#26 0x000055a81c65b056
clang::Sema::DeduceTemplateSpecializationFromInitializer(clang::TypeSourceInfo*,
clang::InitializedEntity const&, clang::InitializationKind const&,
llvm::MutableArrayRef<clang::Expr*>)
(/home/tom/clang-trunk/bin/clang-7.0+0x1994056)
#27 0x000055a81c52b8e5
clang::Sema::deduceVarTypeFromInitializer(clang::VarDecl*,
clang::DeclarationName, clang::QualType, clang::TypeSourceInfo*,
clang::SourceRange, bool, clang::Expr*)
(/home/tom/clang-trunk/bin/clang-7.0+0x18648e5)
#28 0x000055a81c53240d
clang::Sema::DeduceVariableDeclarationType(clang::VarDecl*, bool, clang::Expr*)
(/home/tom/clang-trunk/bin/clang-7.0+0x186b40d)
#29 0x000055a81c539a25 clang::Sema::AddInitializerToDecl(clang::Decl*,
clang::Expr*, bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1872a25)
#30 0x000055a81c76c607
clang::Sema::InstantiateVariableInitializer(clang::VarDecl*, clang::VarDecl*,
clang::MultiLevelTemplateArgumentList const&)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aa5607)
#31 0x000055a81c7757c0 clang::Sema::BuildVariableInstantiation(clang::VarDecl*,
clang::VarDecl*, clang::MultiLevelTemplateArgumentList const&,
llvm::SmallVector<clang::Sema::LateInstantiatedAttribute, 16u>*,
clang::DeclContext*, clang::LocalInstantiationScope*, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aae7c0)
#32 0x000055a81c775a26
clang::TemplateDeclInstantiator::VisitVarDecl(clang::VarDecl*, bool,
llvm::ArrayRef<clang::BindingDecl*>*)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aaea26)
#33 0x000055a81c773a4c clang::Sema::SubstDecl(clang::Decl*,
clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aaca4c)
#34 0x000055a81c752890 (anonymous
namespace)::TemplateInstantiator::TransformDefinition(clang::SourceLocation,
clang::Decl*) (.isra.1997) (/home/tom/clang-trunk/bin/clang-7.0+0x1a8b890)
#35 0x000055a81c752939 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformDeclStmt(clang::DeclStmt*)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a8b939)
#36 0x000055a81c766a83 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformCompoundStmt(clang::CompoundStmt*,
bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a9fa83)
#37 0x000055a81c769296 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aa2296)
#38 0x000055a81c778401
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x1ab1401)
#39 0x000055a81c731b32 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a6ab32)
#40 0x000055a81c5dfc7d clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1918c7d)
#41 0x000055a81c6d3680 FinishOverloadedCallExpr(clang::Sema&, clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*,
clang::OverloadCandidateSet*, clang::OverloadCandidate**,
clang::OverloadingResult, bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a0c680)
#42 0x000055a81c6d39d7 clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a0c9d7)
#43 0x000055a81c5f8369 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x1931369)
#44 0x000055a81c7592d5 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformCallExpr(clang::CallExpr*)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a922d5)
#45 0x000055a81c7559e7 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformExpr(clang::Expr*)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a8e9e7)
#46 0x000055a81c765f22 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformStmt(clang::Stmt*)
(/home/tom/clang-trunk/bin/clang-7.0+0x1a9ef22)
#47 0x000055a81c766a83 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformCompoundStmt(clang::CompoundStmt*,
bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a9fa83)
#48 0x000055a81c769296 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/home/tom/clang-trunk/bin/clang-7.0+0x1aa2296)
#49 0x000055a81c778401
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x1ab1401)
#50 0x000055a81c731b32 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a6ab32)
#51 0x000055a81c5dfc7d clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1918c7d)
#52 0x000055a81c6d3680 FinishOverloadedCallExpr(clang::Sema&, clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*,
clang::OverloadCandidateSet*, clang::OverloadCandidate**,
clang::OverloadingResult, bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a0c680)
#53 0x000055a81c6d39d7 clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/home/tom/clang-trunk/bin/clang-7.0+0x1a0c9d7)
#54 0x000055a81c5f8369 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x1931369)
#55 0x000055a81c3d3c11
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*,
true>) (/home/tom/clang-trunk/bin/clang-7.0+0x170cc11)
#56 0x000055a81c3d22a1 clang::Parser::ParseCastExpression(bool, bool, bool&,
clang::Parser::TypeCastState, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x170b2a1)
#57 0x000055a81c3d2370 clang::Parser::ParseCastExpression(bool, bool,
clang::Parser::TypeCastState, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x170b370)
#58 0x000055a81c3d2beb
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
(/home/tom/clang-trunk/bin/clang-7.0+0x170bbeb)
#59 0x000055a81c3d3261
clang::Parser::ParseExpression(clang::Parser::TypeCastState)
(/home/tom/clang-trunk/bin/clang-7.0+0x170c261)
#60 0x000055a81c3f52fd clang::Parser::ParseExprStatement()
(/home/tom/clang-trunk/bin/clang-7.0+0x172e2fd)
#61 0x000055a81c3f3c2b
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*,
clang::Parser::ParsedAttributesWithRange&)
(/home/tom/clang-trunk/bin/clang-7.0+0x172cc2b)
#62 0x000055a81c3f40f1
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*)
(/home/tom/clang-trunk/bin/clang-7.0+0x172d0f1)
#63 0x000055a81c3f60cc clang::Parser::ParseCompoundStatementBody(bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x172f0cc)
#64 0x000055a81c3f6ef9 clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) (/home/tom/clang-trunk/bin/clang-7.0+0x172fef9)
#65 0x000055a81c3b1339
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
(/home/tom/clang-trunk/bin/clang-7.0+0x16ea339)
#66 0x000055a81c3c1976 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(/home/tom/clang-trunk/bin/clang-7.0+0x16fa976)
#67 0x000055a81c3ae321
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier)
(/home/tom/clang-trunk/bin/clang-7.0+0x16e7321)
#68 0x000055a81c3ae56d
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier) (.part.141)
(/home/tom/clang-trunk/bin/clang-7.0+0x16e756d)
#69 0x000055a81c3afd01
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (/home/tom/clang-trunk/bin/clang-7.0+0x16e8d01)
#70 0x000055a81c3b03d4
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&)
(/home/tom/clang-trunk/bin/clang-7.0+0x16e93d4)
#71 0x000055a81c3ac008 clang::ParseAST(clang::Sema&, bool, bool)
(/home/tom/clang-trunk/bin/clang-7.0+0x16e5008)
#72 0x000055a81bf3a1d2 clang::CodeGenAction::ExecuteAction()
(/home/tom/clang-trunk/bin/clang-7.0+0x12731d2)
#73 0x000055a81bd7f07b clang::FrontendAction::Execute()
(/home/tom/clang-trunk/bin/clang-7.0+0x10b807b)
#74 0x000055a81bd60512
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/home/tom/clang-trunk/bin/clang-7.0+0x1099512)
#75 0x000055a81bdcf634
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/home/tom/clang-trunk/bin/clang-7.0+0x1108634)
#76 0x000055a81b3cf62f cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/home/tom/clang-trunk/bin/clang-7.0+0x70862f)
#77 0x000055a81b38b9dc main (/home/tom/clang-trunk/bin/clang-7.0+0x6c49dc)
#78 0x00007f811d797a87 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21a87)
#79 0x000055a81b3cdd7a _start (/home/tom/clang-trunk/bin/clang-7.0+0x706d7a)


And run script:
# Crash reproducer for clang version 7.0.0 (http://llvm.org/git/clang.git
1d96a96f811f32dbcc3586a7d2e5b39e5f387541) (http://llvm.org/git/llvm.git
409ea28c4744e4d5e3d122dbbef0fe3a08de6b82)
# Driver args: "--driver-mode=g++" "-D" "GSL_THROW_ON_CONTRACT_VIOLATION"
"-isystem" "/home/tom/src/tcm-swarm/external/intel/mkl/include" "-I"
"/home/tom/src/tcm-swarm/external/GSL" "-I"
"/home/tom/src/tcm-swarm/external/GSL/include" "-I"
"/home/tom/src/tcm-swarm/external/range-v3/include" "-Weverything"
"-Wno-c++98-compat" "-Wno-c++98-compat-pedantic"
"-Wno-c++98-c++11-c++14-compat" "-Wno-weak-vtables" "-Wno-unused"
"-Wno-exit-time-destructors" "-Wno-documentation-unknown-command"
"-Wno-float-equal" "-Wno-global-constructors" "-march=native" "-std=c++14"
"-std=gnu++1z" "-o" "CMakeFiles/rbm_spin.dir/rbm_spin.cpp.o" "-c"
"/home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp"
# Original command:  "/home/tom/clang-trunk/bin/clang-7.0" "-cc1" "-triple"
"x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free"
"-disable-llvm-verifier" "-discard-value-names" "-main-file-name"
"rbm_spin.cpp" "-mrelocation-model" "static" "-mthread-model" "posix"
"-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-fuse-init-array" "-target-cpu" "ivybridge"
"-target-feature" "+sse2" "-target-feature" "+cx16" "-target-feature" "+sahf"
"-target-feature" "-tbm" "-target-feature" "-avx512ifma" "-target-feature"
"-sha" "-target-feature" "-gfni" "-target-feature" "-fma4" "-target-feature"
"-vpclmulqdq" "-target-feature" "-prfchw" "-target-feature" "-bmi2"
"-target-feature" "-cldemote" "-target-feature" "+fsgsbase" "-target-feature"
"-xsavec" "-target-feature" "+popcnt" "-target-feature" "+aes"
"-target-feature" "-avx512bitalg" "-target-feature" "-movdiri"
"-target-feature" "-xsaves" "-target-feature" "-avx512er" "-target-feature"
"-avx512vnni" "-target-feature" "-avx512vpopcntdq" "-target-feature" "-clwb"
"-target-feature" "-avx512f" "-target-feature" "-clzero" "-target-feature"
"-pku" "-target-feature" "+mmx" "-target-feature" "-lwp" "-target-feature"
"-rdpid" "-target-feature" "-xop" "-target-feature" "-rdseed" "-target-feature"
"-waitpkg" "-target-feature" "-movdir64b" "-target-feature" "-ibt"
"-target-feature" "-sse4a" "-target-feature" "-avx512bw" "-target-feature"
"-clflushopt" "-target-feature" "+xsave" "-target-feature" "-avx512vbmi2"
"-target-feature" "-avx512vl" "-target-feature" "-avx512cd" "-target-feature"
"+avx" "-target-feature" "-vaes" "-target-feature" "-rtm" "-target-feature"
"-fma" "-target-feature" "-bmi" "-target-feature" "+rdrnd" "-target-feature"
"-mwaitx" "-target-feature" "+sse4.1" "-target-feature" "+sse4.2"
"-target-feature" "-avx2" "-target-feature" "-wbnoinvd" "-target-feature"
"+sse" "-target-feature" "-lzcnt" "-target-feature" "+pclmul" "-target-feature"
"-prefetchwt1" "-target-feature" "+f16c" "-target-feature" "+ssse3"
"-target-feature" "-sgx" "-target-feature" "-shstk" "-target-feature" "+cmov"
"-target-feature" "-avx512vbmi" "-target-feature" "-movbe" "-target-feature"
"+xsaveopt" "-target-feature" "-avx512dq" "-target-feature" "-adx"
"-target-feature" "-avx512pf" "-target-feature" "+sse3" "-dwarf-column-info"
"-debugger-tuning=gdb" "-coverage-notes-file"
"/home/tom/src/tcm-swarm/build/cbits/test/CMakeFiles/rbm_spin.dir/rbm_spin.cpp.gcno"
"-resource-dir" "/home/tom/clang-trunk/lib/clang/7.0.0" "-isystem"
"/home/tom/src/tcm-swarm/external/intel/mkl/include" "-D"
"GSL_THROW_ON_CONTRACT_VIOLATION" "-I" "/home/tom/src/tcm-swarm/external/GSL"
"-I" "/home/tom/src/tcm-swarm/external/GSL/include" "-I"
"/home/tom/src/tcm-swarm/external/range-v3/include" "-internal-isystem"
"/usr/lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0"
"-internal-isystem"
"/usr/lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/x86_64-linux-gnu/c++/7.3.0"
"-internal-isystem"
"/usr/lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/x86_64-linux-gnu/c++/7.3.0"
"-internal-isystem"
"/usr/lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/backward"
"-internal-isystem" "/usr/local/include" "-internal-isystem"
"/home/tom/clang-trunk/lib/clang/7.0.0/include" "-internal-externc-isystem"
"/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include"
"-internal-externc-isystem" "/usr/include" "-Weverything" "-Wno-c++98-compat"
"-Wno-c++98-compat-pedantic" "-Wno-c++98-c++11-c++14-compat"
"-Wno-weak-vtables" "-Wno-unused" "-Wno-exit-time-destructors"
"-Wno-documentation-unknown-command" "-Wno-float-equal"
"-Wno-global-constructors" "-std=gnu++1z" "-fdeprecated-macro"
"-fdebug-compilation-dir" "/home/tom/src/tcm-swarm/build/cbits/test"
"-ferror-limit" "19" "-fmessage-length" "96" "-fobjc-runtime=gcc"
"-fcxx-exceptions" "-fexceptions" "-fdiagnostics-show-option"
"-fcolor-diagnostics" "-o" "CMakeFiles/rbm_spin.dir/rbm_spin.cpp.o" "-x" "c++"
"/home/tom/src/tcm-swarm/cbits/test/rbm_spin.cpp"
 "/home/tom/clang-trunk/bin/clang-7.0" "-cc1" "-triple"
"x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free"
"-disable-llvm-verifier" "-discard-value-names" "-main-file-name"
"rbm_spin.cpp" "-mrelocation-model" "static" "-mthread-model" "posix"
"-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-fuse-init-array" "-target-cpu" "ivybridge"
"-target-feature" "+sse2" "-target-feature" "+cx16" "-target-feature" "+sahf"
"-target-feature" "-tbm" "-target-feature" "-avx512ifma" "-target-feature"
"-sha" "-target-feature" "-gfni" "-target-feature" "-fma4" "-target-feature"
"-vpclmulqdq" "-target-feature" "-prfchw" "-target-feature" "-bmi2"
"-target-feature" "-cldemote" "-target-feature" "+fsgsbase" "-target-feature"
"-xsavec" "-target-feature" "+popcnt" "-target-feature" "+aes"
"-target-feature" "-avx512bitalg" "-target-feature" "-movdiri"
"-target-feature" "-xsaves" "-target-feature" "-avx512er" "-target-feature"
"-avx512vnni" "-target-feature" "-avx512vpopcntdq" "-target-feature" "-clwb"
"-target-feature" "-avx512f" "-target-feature" "-clzero" "-target-feature"
"-pku" "-target-feature" "+mmx" "-target-feature" "-lwp" "-target-feature"
"-rdpid" "-target-feature" "-xop" "-target-feature" "-rdseed" "-target-feature"
"-waitpkg" "-target-feature" "-movdir64b" "-target-feature" "-ibt"
"-target-feature" "-sse4a" "-target-feature" "-avx512bw" "-target-feature"
"-clflushopt" "-target-feature" "+xsave" "-target-feature" "-avx512vbmi2"
"-target-feature" "-avx512vl" "-target-feature" "-avx512cd" "-target-feature"
"+avx" "-target-feature" "-vaes" "-target-feature" "-rtm" "-target-feature"
"-fma" "-target-feature" "-bmi" "-target-feature" "+rdrnd" "-target-feature"
"-mwaitx" "-target-feature" "+sse4.1" "-target-feature" "+sse4.2"
"-target-feature" "-avx2" "-target-feature" "-wbnoinvd" "-target-feature"
"+sse" "-target-feature" "-lzcnt" "-target-feature" "+pclmul" "-target-feature"
"-prefetchwt1" "-target-feature" "+f16c" "-target-feature" "+ssse3"
"-target-feature" "-sgx" "-target-feature" "-shstk" "-target-feature" "+cmov"
"-target-feature" "-avx512vbmi" "-target-feature" "-movbe" "-target-feature"
"+xsaveopt" "-target-feature" "-avx512dq" "-target-feature" "-adx"
"-target-feature" "-avx512pf" "-target-feature" "+sse3" "-dwarf-column-info"
"-debugger-tuning=gdb" "-coverage-notes-file"
"/home/tom/src/tcm-swarm/build/cbits/test/CMakeFiles/rbm_spin.dir/rbm_spin.cpp.gcno"
"-D" "GSL_THROW_ON_CONTRACT_VIOLATION" "-Weverything" "-Wno-c++98-compat"
"-Wno-c++98-compat-pedantic" "-Wno-c++98-c++11-c++14-compat"
"-Wno-weak-vtables" "-Wno-unused" "-Wno-exit-time-destructors"
"-Wno-documentation-unknown-command" "-Wno-float-equal"
"-Wno-global-constructors" "-std=gnu++1z" "-fdeprecated-macro" "-ferror-limit"
"19" "-fmessage-length" "96" "-fobjc-runtime=gcc" "-fcxx-exceptions"
"-fexceptions" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-x" "c++"
"rbm_spin-0c11d5.cpp"

-- 
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/20180508/35aac4be/attachment-0001.html>


More information about the llvm-bugs mailing list