[LLVMbugs] [Bug 6990] New: Assert in boost::lexer
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 30 09:44:01 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6990
Summary: Assert in boost::lexer
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chris at bubblescope.net
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=4779)
--> (http://llvm.org/bugs/attachment.cgi?id=4779)
Lexer asserting test
The attached test case is reduced from boost::lexer.
clang: Sema.h:3664: void
clang::Sema::LocalInstantiationScope::InstantiatedLocal(const clang::Decl*,
clang::Decl*): Assertion `(!Stored || Stored == Inst) && "Already instantiated
this local"' failed.
0 clang 0x000000000149a70a
1 clang 0x000000000149a5f1
2 libpthread.so.0 0x00007f5554c9e8f0
3 libc.so.6 0x00007f5553f8ea75 gsignal + 53
4 libc.so.6 0x00007f5553f925c0 abort + 384
5 libc.so.6 0x00007f5553f87941 __assert_fail + 241
6 clang 0x0000000000821c57
7 clang 0x00000000007f93a0
8 clang 0x00000000007f8984
9 clang 0x00000000007fb6b5
10 clang 0x00000000007f892d
11 clang 0x00000000008025d8
12 clang 0x00000000007fbe18
13 clang 0x00000000007fb886
14 clang 0x00000000007f8daa
15 clang 0x00000000007cd0c3
16 clang 0x00000000007ce79c
17 clang 0x00000000007cb849
18 clang 0x0000000000819309
19 clang 0x0000000000803be3
20 clang 0x00000000007fc0f4
21 clang 0x00000000007fb886
22 clang 0x00000000007f8daa
23 clang 0x000000000082891f
24 clang 0x00000000008306af
25 clang 0x000000000082cff0
26 clang 0x00000000007f9b23
27 clang 0x00000000007fa554
28 clang 0x000000000083a817
29 clang 0x000000000083abbe
30 clang 0x00000000006fd22f
31 clang 0x00000000006fd6fd
32 clang 0x0000000000a6aa3a
33 clang 0x0000000000a6a6b1
34 clang 0x0000000000a6c070
35 clang 0x0000000000a6a35c
36 clang 0x0000000000a5e9da
37 clang 0x0000000000a55ea1
38 clang 0x0000000000a562e7
39 clang 0x0000000000a55c76
40 clang 0x0000000000a5554d
41 clang 0x000000000068fc00
42 clang 0x0000000000437014
43 clang 0x0000000000436c7f
44 clang 0x00000000004212ff
45 clang 0x0000000000409172
46 clang 0x000000000040dce2 main + 259
47 libc.so.6 0x00007f5553f79c4d __libc_start_main + 253
48 clang 0x0000000000407b49
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -S -disable-free -main-file-name t.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 -ftemplate-backtrace-limit 10 -fmessage-length 166
-fexceptions -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o
/tmp/cc-xpRayb.s -x c++ t.cc
1. t.cc:17:1: current parser token '{'
2. t.cc:16:1: parsing struct/union/class body 'r'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
--
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