[LLVMbugs] [Bug 10270] New: [C++] aborts during compilation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 4 14:47:06 PDT 2011


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

           Summary: [C++] aborts during compilation
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pipping at exherbo.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=6824)
 --> (http://llvm.org/bugs/attachment.cgi?id=6824)
xz-compressed output of -save-temps

During compilation of "single.cpp" from eigen-3.0.1

pipping at bogus /home/pipping % clang++ -c single.ii
clang: SemaOverload.cpp:8753: ExprResult
clang::Sema::CreateOverloadedBinOp(clang::SourceLocation, unsigned int, const
clang::UnresolvedSetImpl &, clang::Expr *, clang::Expr *): Assertion
`Result.isInvalid() && "C++ binary operator overloading is missing
candidates!"' failed.
0  libLLVM-3.0svn.so 0x00007f69a56bc78f
1  libLLVM-3.0svn.so 0x00007f69a56bcb81
2  libpthread.so.0   0x00007f69a4697ff0
3  libc.so.6         0x00007f69a39b5605 gsignal + 53
4  libc.so.6         0x00007f69a39b6905 abort + 389
5  libc.so.6         0x00007f69a39ae235 __assert_fail + 245
6  clang             0x0000000000de0d82
7  clang             0x0000000000d7502c clang::Sema::BuildBinOp(clang::Scope*,
clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*) +
300
8  clang             0x0000000000e6060f
9  clang             0x0000000000e5a740
10 clang             0x0000000000e5a3d1
11 clang             0x0000000000e66407
12 clang             0x0000000000e5a037
13 clang             0x0000000000e6a7ac
14 clang             0x0000000000e5a0cb
15 clang             0x0000000000e66407
16 clang             0x0000000000e5a037
17 clang             0x0000000000e6aae7
18 clang             0x0000000000e5a115
19 clang             0x0000000000e66407
20 clang             0x0000000000e5a037
21 clang             0x0000000000e6aae7
22 clang             0x0000000000e5a115
23 clang             0x0000000000e66407
24 clang             0x0000000000e5a037
25 clang             0x0000000000e59f0e clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 94
26 clang             0x0000000000e7b182
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1570
27 clang             0x0000000000e7bce4
clang::Sema::PerformPendingInstantiations(bool) + 388
28 clang             0x0000000000cbbf8f
clang::Sema::ActOnEndOfTranslationUnit() + 239
29 clang             0x0000000000c8b966
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 150
30 clang             0x0000000000c7505f clang::ParseAST(clang::Sema&, bool) +
303
31 clang             0x0000000000b734df clang::CodeGenAction::ExecuteAction() +
623
32 clang             0x0000000000a968b7 clang::FrontendAction::Execute() + 231
33 clang             0x0000000000a842ea
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 506
34 clang             0x0000000000a4fef0
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 640
35 clang             0x0000000000a460d7 cc1_main(char const**, char const**,
char const*, void*) + 647
36 clang             0x0000000000a4c680 main + 368
37 libc.so.6         0x00007f69a39a1c7d __libc_start_main + 253
38 clang             0x0000000000a45d89
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu
-emit-obj -mrelax-all -disable-free -main-file-name single.ii
-mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.21
-momit-leaf-frame-pointer -coverage-file single.o -resource-dir
/usr/bin/../lib/clang/3.0 -fdeprecated-macro -ferror-limit 19 -fmessage-length
238 -fgnu-runtime -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -o single.o -x c++-cpp-output single.ii 
1.      <eof> parser at end of file
2.      /home/pipping/eigen-3.0.1/Eigen/src/Jacobi/Jacobi.h:306:6:
instantiating function definition 'apply_rotation_in_the_plane'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
pipping at bogus /home/pipping %

-- 
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