http://llvm.org/bugs/show_bug.cgi?id=7237
Summary: Clang crash on invalid
Product: clang
Version: trunk
Platform: Other
OS/Version: FreeBSD
Status: NEW
Keywords: crash-on-invalid
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=4937)
--> (http://llvm.org/bugs/attachment.cgi?id=4937)
testcase
$ clang segv9.cc
<...>
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name segv9.cc
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/2.0
-ferror-limit 19 -fmessage-length 157 -fexceptions -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-qkesfJ.s -x c++
segv9.cc
1. segv9.cc:14:153: current parser token ','
2. segv9.cc:9:10: parsing struct/union/class body 'wxTimerEvent'
3. segv9.cc:13:63: parsing function body
'wxTimerEvent::CRateLimiter::GetEventHashTable'
4. segv9.cc:13:63: in compound statement ('{}')
clang: error: clang frontend command failed due to signal 11 (use -v to see
invocation)
$ clang --version
clang version 2.0 (trunk 104734)
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs