[LLVMbugs] [Bug 6411] New: clang++ crashes
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 24 01:47:09 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6411
Summary: clang++ crashes
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P5
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=4300)
--> (http://llvm.org/bugs/attachment.cgi?id=4300)
test case
pes delta$ clang++ -c 000.cpp
000.cpp:78:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
000.cpp:145:5: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name 000.cpp
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/1.1
-fmessage-length 116 -fexceptions -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-TVCg7X.s -x c++ 000.cpp
1. FoldingSet.cpp:178:1: current parser token 'FoldingSetImpl'
2. FoldingSet.cpp:171:17: LLVM IR generation of declaration
'llvm::FoldingSetImpl::FoldingSetImpl'
3. FoldingSet.cpp:171:17: Generating code for declaration
'llvm::FoldingSetImpl::FoldingSetImpl'
clang: error: compiler command failed due to signal 10 (use -v to see
invocation)
this is on a reduced test case from FoldingSet.cpp from llvm
--
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