[LLVMbugs] [Bug 14386] New: UNREACHABLE executed at ../llvm/tools/clang/lib/AST/StmtPrinter.cpp:730!
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 19 13:11:01 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14386
Bug #: 14386
Summary: UNREACHABLE executed at
../llvm/tools/clang/lib/AST/StmtPrinter.cpp:730!
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: salvatore.benedetto at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9571
--> http://llvm.org/bugs/attachment.cgi?id=9571
test case
Unexpected type for integer literal!
UNREACHABLE executed at
/home/emitrax/programming/llvm/tools/clang/lib/AST/StmtPrinter.cpp:730!
0 clang 0x0000000001bfc122
1 clang 0x0000000001bfc594
2 libpthread.so.0 0x00007f1ea9e23060
3 libc.so.6 0x00007f1ea91033a5 gsignal + 53
4 libc.so.6 0x00007f1ea9106b0b abort + 379
5 clang 0x0000000001bea8ef llvm::llvm_unreachable_internal(char
const*, char const*, unsigned int) + 463
6 clang 0x00000000010fed18
7 clang 0x0000000001103a15
Stack dump:
0. Program arguments: /home/emitrax/bin/llvm/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name
test_template_enum.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64
-target-linker-version 2.21.53.20110810 -momit-leaf-frame-pointer
-coverage-file /home/emitrax/programming/clang_crash/test_template_enum.o
-resource-dir /home/emitrax/bin/llvm/bin/../lib/clang/3.2 -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/backward
-internal-isystem /usr/local/include -internal-isystem
/home/emitrax/bin/llvm/bin/../lib/clang/3.2/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro
-fdebug-compilation-dir /home/emitrax/programming/clang_crash -ferror-limit 19
-fmessage-length 213 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
test_template_enum.o -x c++ test_template_enum.cpp
1. test_template_enum.cpp:53:3: at annotation token
2. test_template_enum.cpp:49:1: parsing function body 'main'
3. test_template_enum.cpp:49:1: 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.2 (http://llvm.org/git/clang.git
c10a3281350129c12ceb670ac813f826aa6712d4) (http://llvm.org/git/llvm.git
3c13c3ebdd545d0fafd24f60315641c0e033a4d9)
Target: x86_64-unknown-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/test_template_enum-5qSO8W.cpp
clang: note: diagnostic msg: /tmp/test_template_enum-5qSO8W.sh
clang: note: diagnostic msg:
********************
--
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