Author
anonymous
over 7 years ago
Language
C++
Compiler
clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git 2bce94da8a363b4ffbd7ba2d6a1941942f9bac04) (https://github.com/llvm-mirror/llvm.git 4fac31c8505da57bf7703e26ee061ea8aba0b139)
Options
Warnings
Boost 1.68.0
C++17
no pedantic
Author
anonymous
over 7 years ago
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-head/include -std=c++17 prog.cc:8:5: error: no matching function for call to 'foo'
foo(std::make_index_sequence<3>{}, 1, 2, 3, 4, 5);
^~~
Stack dump:
0. Program arguments: /opt/wandbox/clang-head/bin/clang-8 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name prog.cc -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -nostdinc++ -resource-dir /opt/wandbox/clang-head/lib/clang/8.0.0 -I /opt/wandbox/clang-head/include/c++/v1 -I /opt/wandbox/boost-sml/include -I /opt/wandbox/boost-di/include -I /opt/wandbox/range-v3/include -I /opt/wandbox/nlohmann-json/src -I /opt/wandbox/cmcstl2/include -I /opt/wandbox/te/include -I /opt/wandbox/boost-1.68.0/clang-head/include -internal-isystem /usr/local/include -internal-isystem /opt/wandbox/clang-head/lib/clang/8.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wall -Wextra -std=c++17 -fdeprecated-macro -fdebug-compilation-dir /home/jail -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -fansi-escape-codes -o /tmp/prog-795598.o -x c++ prog.cc -faddrsig
1. prog.cc:8:53: current parser token ')'
2. prog.cc:7:1: parsing function body 'main'
3. prog.cc:7:1: in compound statement ('{}')
#0 0x0000000001df8734 PrintStackTraceSignalHandler(void*) (/opt/wandbox/clang-head/bin/clang-8+0x1df8734)
#1 0x0000000001df6840 llvm::sys::RunSignalHandlers() (/opt/wandbox/clang-head/bin/clang-8+0x1df6840)
#2 0x0000000001df88e2 SignalHandler(int) (/opt/wandbox/clang-head/bin/clang-8+0x1df88e2)
#3 0x00007ff55d36b390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#4 0x0000000003547c6b DiagnoseBadDeduction(clang::Sema&, clang::NamedDecl*, clang::Decl*, clang::DeductionFailureInfo&, unsigned int, bool) (/opt/wandbox/clang-head/bin/clang-8+0x3547c6b)
#5 0x0000000003530478 clang::OverloadCandidateSet::NoteCandidates(clang::Sema&, clang::OverloadCandidateDisplayKind, llvm::ArrayRef<clang::Expr*>, llvm::StringRef, clang::SourceLocation, llvm::function_ref<bool (clang::OverloadCandidate&)>) (/opt/wandbox/clang-head/bin/clang-8+0x3530478)
#6 0x000000000354e0be 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) (/opt/wandbox/clang-head/bin/clang-8+0x354e0be)
#7 0x000000000354db3a clang::Sema::BuildOverloadedCallExpr(clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) (/opt/wandbox/clang-head/bin/clang-8+0x354db3a)
#8 0x0000000003378f5b clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool) (/opt/wandbox/clang-head/bin/clang-8+0x3378f5b)
#9 0x0000000002efd855 clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>) (/opt/wandbox/clang-head/bin/clang-8+0x2efd855)
#10 0x0000000002f06070 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState, bool) (/opt/wandbox/clang-head/bin/clang-8+0x2f06070)
#11 0x0000000002efabff clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) (/opt/wandbox/clang-head/bin/clang-8+0x2efabff)
#12 0x0000000002efab49 clang::Parser::ParseExpression(clang::Parser::TypeCastState) (/opt/wandbox/clang-head/bin/clang-8+0x2efab49)
#13 0x0000000002f441e3 clang::Parser::ParseExprStatement() (/opt/wandbox/clang-head/bin/clang-8+0x2f441e3)
#14 0x0000000002f42b6a clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) (/opt/wandbox/clang-head/bin/clang-8+0x2f42b6a)
#15 0x0000000002f42669 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*) (/opt/wandbox/clang-head/bin/clang-8+0x2f42669)
#16 0x0000000002f49965 clang::Parser::ParseCompoundStatementBody(bool) (/opt/wandbox/clang-head/bin/clang-8+0x2f49965)
#17 0x0000000002f4a275 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (/opt/wandbox/clang-head/bin/clang-8+0x2f4a275)
#18 0x0000000002ebe9c7 clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) (/opt/wandbox/clang-head/bin/clang-8+0x2ebe9c7)
#19 0x0000000002ed626a clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/opt/wandbox/clang-head/bin/clang-8+0x2ed626a)
#20 0x0000000002ebd701 clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (/opt/wandbox/clang-head/bin/clang-8+0x2ebd701)
#21 0x0000000002ebd19e clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) (/opt/wandbox/clang-head/bin/clang-8+0x2ebd19e)
#22 0x0000000002ebc271 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (/opt/wandbox/clang-head/bin/clang-8+0x2ebc271)
#23 0x0000000002ebb07a clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) (/opt/wandbox/clang-head/bin/clang-8+0x2ebb07a)
#24 0x0000000002eb64a6 clang::ParseAST(clang::Sema&, bool, bool) (/opt/wandbox/clang-head/bin/clang-8+0x2eb64a6)
#25 0x00000000023c6eff clang::FrontendAction::Execute() (/opt/wandbox/clang-head/bin/clang-8+0x23c6eff)
#26 0x0000000002384ac8 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/wandbox/clang-head/bin/clang-8+0x2384ac8)
#27 0x0000000002477e5d clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/wandbox/clang-head/bin/clang-8+0x2477e5d)
#28 0x00000000008ea63a cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/wandbox/clang-head/bin/clang-8+0x8ea63a)
#29 0x00000000008e90f0 main (/opt/wandbox/clang-head/bin/clang-8+0x8e90f0)
#30 0x00007ff55c0da830 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20830)
#31 0x00000000008e63e9 _start (/opt/wandbox/clang-head/bin/clang-8+0x8e63e9)
clang-8: error: unable to execute command: Segmentation fault
clang-8: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 8.0.0 (https://github.com/llvm-mirror/clang.git 2bce94da8a363b4ffbd7ba2d6a1941942f9bac04) (https://github.com/llvm-mirror/llvm.git 4fac31c8505da57bf7703e26ee061ea8aba0b139)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/wandbox/clang-head/bin
clang-8: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang-8: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-8: note: diagnostic msg: /tmp/prog-94e037.cpp
clang-8: note: diagnostic msg: /tmp/prog-94e037.sh
clang-8: note: diagnostic msg:
********************
Exit Code:
254