This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/17157] GDB segfault when demangling symbol


https://sourceware.org/bugzilla/show_bug.cgi?id=17157

--- Comment #2 from sourceware at ca dot sh13.net ---
Ok, this problem is a bit more complicated. First, a newer GCC (4.9.1) and
Clang 3.5 doesn't produce the symbol any more. Running a more recent c++filt on
it now crashes c++filt -- if you look closely, the originally demangled type
was also incorrect, as: decltype (((float)()*(float)())) does not make sense --
should have been decltype (float ()*float ()) which is simply float.

I'm debugging a new crash now where the demangler/libiberty starts producing a
symbol name with decltype in it, which I strongly suspect is similar to the
original issue. Am I right to assume that decltype is never part of a mangled
symbol name?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]