[LLVMbugs] [Bug 6518] New: Assertion failed: (CD->isUsed())
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Mar 5 14:23:32 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6518
Summary: Assertion failed: (CD->isUsed())
Product: clang
Version: trunk
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P3
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: hinokind at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=4398)
--> (http://llvm.org/bugs/attachment.cgi?id=4398)
testcase
$ clang assert15-min.cc -Wno-return-type
Assertion failed: (CD->isUsed()), function GetOrCreateLLVMFunction, file
CodeGenModule.cpp, line 796.
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name assert15-min.cc
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/1.1
-Wno-return-type -fmessage-length 157 -fexceptions -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-8PkM5j.s -x c++
assert15-min.cc
1. <eof> parser at end of file
2. Per-file LLVM IR generation
3. assert15-min.cc:28:12: Generating code for declaration 'QDebug::~QDebug'
4. assert15-min.cc:28:22: LLVM IR generation of compound statement ('{}')
5. assert15-min.cc:29:24: LLVM IR generation of compound statement ('{}')
6. assert15-min.cc:30:35: LLVM IR generation of compound statement ('{}')
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
$ clang --version
clang version 1.1 (trunk 97839)
Target: x86_64-unknown-freebsd8.0
Thread model: posix
--
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