[Bug debug/69785] New: c++filt can't demangle string or compiler produce wrong mangled string

nikolay.piskun at roguewave dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 12 13:58:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69785

            Bug ID: 69785
           Summary: c++filt can't demangle string or compiler produce
                    wrong mangled string
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nikolay.piskun at roguewave dot com
  Target Milestone: ---

TotalView debugger emits demangling error, trying to demangle following string:

_ZN9__gnu_cxx13new_allocatorINSt8__detail10_Hash_nodeISt4pairIKiiELb0EEEE9constructIS6_IRKSt21piecewise_construct_tSt5tupleIIRS4_EESC_IIEEEEEvPT_DpOT0_

c++filt can't demangle it either. Looks like the problem is in last "T0_" if
you just substitute it with v, then you get:
c++filt
_ZN9__gnu_cxx13new_allocatorINSt8__detail10_Hash_nodeISt4pairIKiiELb0EEEE9constructIS6_IRKSt21piecewise_construct_tSt5tupleIIRS4_EESC_IIEEEEEvPT_DpOv
void __gnu_cxx::new_allocator<std::__detail::_Hash_node<std::pair<int const,
int>, false> >::construct<std::__detail::_Hash_node<std::pair<int const, int>,
false><std::piecewise_construct_t const&, std::tuple<int const&>, std::tuple<>
> >(std::__detail::_Hash_node<std::pair<int const, int>,
false><std::piecewise_construct_t const&, std::tuple<int const&>, std::tuple<>
>*, (void&&)...)


More information about the Gcc-bugs mailing list