-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Description
| Bugzilla Link | 11128 |
| Resolution | FIXED |
| Resolved on | Apr 20, 2013 13:25 |
| Version | trunk |
| OS | Linux |
| Attachments | delta-reduced input (not valid code but manages to make clang++ crash) |
| Reporter | LLVM Bugzilla Contributor |
| CC | @DougGregor |
Extended Description
Yet another reduction of attachment 6824 from bug #10270 (for another reduction with another error, see e.g. bug #11127).
% clang++ -c input.ii
[..]
clang: SemaOverload.cpp:9038: 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 0x00007ffff73fc64f
1 libLLVM-3.0svn.so 0x00007ffff73fcb69
2 libpthread.so.0 0x00007ffff6490f70
3 libc.so.6 0x00007ffff57ae5c5 gsignal + 53
4 libc.so.6 0x00007ffff57af8c5 abort + 389
5 libc.so.6 0x00007ffff57a7235 __assert_fail + 245
6 clang 0x00000000009378cd
7 clang 0x00000000008b42b2 clang::Sema::BuildBinOp(clang::Scope*, clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*) + 450
8 clang 0x00000000009b26d3
9 clang 0x00000000009b1e46
10 clang 0x00000000009c0735
11 clang 0x00000000009b0e09
12 clang 0x00000000009b03a7 clang::Sema::SubstStmt(clang::Stmt*, clang::MultiLevelTemplateArgumentList const&) + 87
13 clang 0x00000000009cc370 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool) + 2176
14 clang 0x00000000009cd372 clang::Sema::PerformPendingInstantiations(bool) + 466
15 clang 0x00000000007b2189 clang::Sema::ActOnEndOfTranslationUnit() + 393
16 clang 0x0000000000771900 clang::Parser::ParseTopLevelDecl(clang::OpaquePtrclang::DeclGroupRef&) + 112
17 clang 0x0000000000758f1e clang::ParseAST(clang::Sema&, bool) + 318
18 clang 0x000000000066de91 clang::CodeGenAction::ExecuteAction() + 769
19 clang 0x0000000000567167 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 983
20 clang 0x0000000000551cd0 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2848
21 clang 0x000000000054992b cc1_main(char const**, char const**, char const*, void*) + 5787
22 clang 0x000000000054e29a main + 634
23 libc.so.6 0x00007ffff579ac7d __libc_start_main + 253
24 clang 0x00000000005481c9
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name input.ii -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.21.1 -momit-leaf-frame-pointer -coverage-file input.o -resource-dir /usr/bin/../lib/clang/3.0 -fdeprecated-macro -ferror-limit 19 -fmessage-length 118 -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o input.o -x c++-cpp-output input.ii
-
<eof> parser at end of file -
input.ii:25: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)
clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information.
clang: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
%