[LLVMbugs] [Bug 7807] New: Assertion failed: (false && "Type/value mismatch")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 3 23:57:46 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7807

           Summary: Assertion failed: (false && "Type/value mismatch")
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: luc_j_bourhis at mac.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Revision: 110186

~cctbxroot/cctbx_build_clang> clang++ -c ~/Desktop/clang-bug.cpp                
Assertion failed: (false && "Type/value mismatch"), function
DeduceTemplateArguments, file SemaTemplateDeduction.cpp, line 871.
0  clang             0x01409168 PrintStackTrace(void*) + 40
1  clang             0x01409f47 SignalHandler(int) + 695
2  libSystem.B.dylib 0x9549f1fb _sigtramp + 43
3  libSystem.B.dylib 0xffffffff _sigtramp + 1790316079
4  libSystem.B.dylib 0x9552c62d raise + 26
5  libSystem.B.dylib 0x955426e4 abort + 93
6  libSystem.B.dylib 0x9552f28c __pthread_markcancel + 0
7  clang             0x004c6bc2 DeduceTemplateArguments(clang::Sema&,
clang::TemplateParameterList*, clang::TemplateArgument const&,
clang::TemplateArgument const&, clang::Sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&) + 146
8  clang             0x004c3174 DeduceTemplateArguments(clang::Sema&,
clang::TemplateParameterList*, clang::TemplateSpecializationType const*,
clang::QualType, clang::Sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&) + 980
9  clang             0x004c3a08 DeduceTemplateArguments(clang::Sema&,
clang::TemplateParameterList*, clang::QualType, clang::QualType,
clang::Sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int) + 2040
10 clang             0x004cc39c
clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*,
clang::TemplateArgumentListInfo const*, clang::Expr**, unsigned int,
clang::FunctionDecl*&, clang::Sema::TemplateDeductionInfo&) + 1900
11 clang             0x00459937
clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*,
clang::DeclAccessPair, clang::TemplateArgumentListInfo const*, clang::Expr**,
unsigned int, clang::OverloadCandidateSet&, bool) + 279
12 clang             0x0045b3a7
clang::Sema::AddFunctionCandidates(clang::UnresolvedSetImpl const&,
clang::Expr**, unsigned int, clang::OverloadCandidateSet&, bool) + 343
13 clang             0x004613d4
clang::Sema::CreateOverloadedBinOp(clang::SourceLocation, unsigned int,
clang::UnresolvedSetImpl const&, clang::Expr*, clang::Expr*) + 1124
14 clang             0x004d4687 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::RebuildCXXOperatorCallExpr(clang::OverloadedOperatorKind,
clang::SourceLocation,
clang::ASTOwningPtr<&(clang::ActionBase::DeleteExpr(void*))>,
clang::ASTOwningPtr<&(clang::ActionBase::DeleteExpr(void*))>,
clang::ASTOwningPtr<&(clang::ActionBase::DeleteExpr(void*))>) + 599
15 clang             0x004db37b clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformCXXOperatorCallExpr(clang::CXXOperatorCallExpr*)
+ 683
16 clang             0x004d78be clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformExpr(clang::Expr*) + 3806
17 clang             0x004f2635 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformStmt(clang::Stmt*) + 1237
18 clang             0x004f2c9e clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformCompoundStmt(clang::CompoundStmt*,
bool) + 110
19 clang             0x004f2585 clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformStmt(clang::Stmt*) + 1061
20 clang             0x004f5171 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 49
21 clang             0x005016bd
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1229
22 clang             0x0050108b
clang::Sema::PerformPendingImplicitInstantiations(bool) + 507
23 clang             0x002e45e5 clang::Sema::ActOnEndOfTranslationUnit() + 37
24 clang             0x007ec09e
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<1>&) + 222
25 clang             0x002e2352 clang::ParseAST(clang::Preprocessor&,
clang::ASTConsumer*, clang::ASTContext&, bool, bool,
clang::CodeCompleteConsumer*) + 290
26 clang             0x00073ddd clang::ASTFrontendAction::ExecuteAction() + 157
27 clang             0x0029a379 clang::CodeGenAction::ExecuteAction() + 57
28 clang             0x0004f9fc
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 396
29 clang             0x000200c9 cc1_main(char const**, char const**, char
const*, void*) + 3177
30 clang             0x0002748d main + 5101
31 clang             0x0001e1e9 start + 53
Stack dump:
0.    Program arguments: /Users/luc/Developer/llvm/Release+Asserts/bin/clang
-cc1 -triple i386-apple-darwin10.0.0 -emit-obj -mrelax-all -disable-free
-main-file-name clang-bug.cpp -pic-level 1 -mdisable-fp-elim -masm-verbose
-target-cpu yonah -resource-dir
/Users/luc/Developer/llvm/Release+Asserts/lib/clang/2.8 -ferror-limit 19
-fmessage-length 104 -stack-protector 1 -fblocks -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o clang-bug.o -x c++
/Users/luc/Desktop/clang-bug.cpp 
1.    <eof> parser at end of file
2.   
/Users/luc/Developer/cctbx/cctbx_project/scitbx/array_family/simple_tiny_io.h:11:3:
instantiating function definition 'scitbx::af::operator<<'
clang: error: clang frontend command failed due to signal 6 (use -v to see
invocation)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list