[LLVMbugs] [Bug 23010] New: Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"),
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Mar 24 14:25:53 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23010
Bug ID: 23010
Summary: Assertion failed: (isa<X>(Val) && "cast<Ty>() argument
of incompatible type!"),
Product: clang
Version: 3.6
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: amdmi3 at amdmi3.ru
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang 3.6.0 which was recently imported into FreeBSD-HEAD source tree dies on
compiling Red Eclipse FPS game source code:
Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"),
function cast, file
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include/llvm/Support/Casting.h,
line 223.
Stack dump:
0. Program arguments: /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd11.0
-emit-obj -disable-free -main-file-name client.cpp -mrelocation-model static
-mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu nocona -dwarf-column-info
-coverage-file
/home/amdmi3/projects/freebsd/batchports-mem/games/redeclipse/work/base-1.5.0/src/game/client.o
-resource-dir /usr/bin/../lib/clang/3.6.0 -D _REENTRANT -D _THREAD_SAFE -I . -I
shared -I engine -I game -I enet/include -I /usr/local/include -I
/usr/local/include/SDL -I /usr/local/include -internal-isystem
/usr/include/c++/v1 -O2 -Wall -fdeprecated-macro -fdebug-compilation-dir
/home/amdmi3/projects/freebsd/batchports-mem/games/redeclipse/work/base-1.5.0/src
-ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fno-rtti
-fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -o game/client.o -x c++ game/client.cpp
1. <eof> parser at end of file
2. game/game.h:470:10: instantiating function definition 'get'
c++: error: unable to execute command: Abort trap
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225
Target: x86_64-unknown-freebsd11.0
Thread model: posix
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
c++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/client-10cab7.cpp
c++: note: diagnostic msg: /tmp/client-10cab7.sh
c++: 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/20150324/1f20f9f4/attachment.html>
More information about the llvm-bugs
mailing list