http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54420
Bug #: 54420 Summary: Segmentation in decl_mangling_context Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: lukeocam...@gmail.com Created attachment 28107 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28107 Preprocessed source file Discovered when compiling llvm+lldb. Preprocessed file attached. Stack trace: #0 0x000000000058f3b3 in decl_mangling_context (decl=0x2aaaabf38508) at ../.././gcc/cp/mangle.c:759 #1 decl_mangling_context (decl=0x2aaaabf38508) at ../.././gcc/cp/mangle.c:749 #2 0x00000000005963a4 in write_name (decl=0x2aaaabf38508, ignore_local_scope=ignore_local_scope@entry=0) at ../.././gcc/cp/mangle.c:795 #3 0x00000000005931b4 in write_class_enum_type (type=<optimized out>) at ../.././gcc/cp/mangle.c:2424 #4 write_type (type=type@entry=0x2aaaabf4e7e0) at ../.././gcc/cp/mangle.c:1903 #5 0x0000000000596db9 in mangle_special_for_type (type=0x2aaaabf4e7e0, code=0xd3042e "TV") at ../.././gcc/cp/mangle.c:3445 #6 0x000000000051062e in get_vtable_name (type=0x2aaaabf4e7e0) at ../.././gcc/cp/class.c:709 ...