[LLVMbugs] [Bug 16663] New: Assertion "Could not evaluate expression" failed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jul 19 09:43:33 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16663
Bug ID: 16663
Summary: Assertion "Could not evaluate expression" failed
Product: clang
Version: 3.3
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: pipping at exherbo.org
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10902
--> http://llvm.org/bugs/attachment.cgi?id=10902&action=edit
invalid c++ code
% clang -x c++ -std=c++0x -c -w one-body-sample-83GwrP.ii
clang: ExprConstant.cpp:7139: llvm::APSInt
clang::Expr::EvaluateKnownConstInt(const clang::ASTContext&,
llvm::SmallVectorImpl<std::pair<clang::SourceLocation,
clang::PartialDiagnostic> >*) const: Assertion `Result && "Could not evaluate
expression"' failed.
0 clang 0x0000000001eebd72
1 clang 0x0000000001eeba91
2 libpthread.so.0 0x00007f3e111c8030
3 libc.so.6 0x00007f3e102b6475 gsignal + 53
4 libc.so.6 0x00007f3e102b96f0 abort + 384
5 libc.so.6 0x00007f3e102af621 __assert_fail + 241
6 clang 0x00000000010702eb
7 clang 0x0000000000fc3de8
8 clang 0x0000000000fc6349
9 clang 0x0000000000fc6689
Stack dump:
0. Program arguments: /home/cocktail/pipping/pkg/bin/clang -cc1 -triple
x86_64-debian-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name
one-body-sample-83GwrP.ii -mrelocation-model static -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -target-linker-version 2.22 -coverage-file
/home/cocktail/pipping/local/tmp2/one-body-sample-83GwrP.o -resource-dir
/home/cocktail/pipping/pkg/bin/../lib/clang/3.3 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/backward
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/x86_64-linux-gnu/c++/4.7
-internal-isystem /usr/local/include -internal-isystem
/home/cocktail/pipping/pkg/bin/../lib/clang/3.3/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include -w
-std=c++0x -fdeprecated-macro -fdebug-compilation-dir
/home/cocktail/pipping/local/tmp2 -ferror-limit 19 -fmessage-length 104
-mstackrealign -fobjc-runtime=gcc -fobjc-default-synthesize-properties
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-backend-option -vectorize-loops -o one-body-sample-83GwrP.o -x c++
one-body-sample-83GwrP.ii
1. one-body-sample-83GwrP.ii:37:17: current parser token ')'
2. one-body-sample-83GwrP.ii:32:12: parsing function body 'main'
3. one-body-sample-83GwrP.ii:32:12: in compound statement ('{}')
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (tags/RELEASE_33/final)
Target: x86_64-debian-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/one-body-sample-83GwrP-Jz6Tq9.cpp
clang: note: diagnostic msg: /tmp/one-body-sample-83GwrP-Jz6Tq9.sh
clang: note: diagnostic msg:
********************
--
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/20130719/24c14208/attachment.html>
More information about the llvm-bugs
mailing list