This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 libstdc++/16328] New: __cxa_demangle problem with member pointers as template parameters


This input for __cxa_demangle 
 _ZN3awn3msg9InMessage6GetTLVINS_4dscr6StructI1xNS3_6MemberIMS5_iXadsrS5_NS5_1iEENS6_IMS5_dXadsrS5_NS5_1dEENS6_IMS5_NS_9fs_vectorIcLj3EEEXadsrS5_NS5_3vi3EENS3_4LastEEEEEEEEES5_EEbRT0_jRKNS0_9TLVVectorE

produces the following output:

bool awn::msg::InMessage::GetTLV<awn::dscr::Struct<x, awn::dscr::Member<int
x::*, &(x::x::i), awn::dscr::Member<double x::*, &(x::x::d),
awn::dscr::Member<awn::fs_vector<char, 3> x::*, &(x::x::vi3), awn::dscr::Last> >
> >, x>(x&, unsigned, awn::msg::TLVVector const&)

Note the "&(x::x::" parts. 

__PRETTY_FUNCTION__ gets it right:

bool awn::msg::InMessage::GetTLV(T&, unsigned int, const awn::msg::TLVVector&)
[with ValueT = awn::dscr::Struct<x, awn::dscr::Member<int x::*, &x::i,
awn::dscr::Member<double x::*, &x::d, awn::dscr::Member<awn::fs_vector<char, 3>
x::*, &x::vi3, awn::dscr::Last> > > >, T = x]

-- 
           Summary: __cxa_demangle  problem with member pointers as template
                    parameters
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ml105rl at despammed dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i486-pc-linux-gnu
  GCC host triplet: i486-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16328


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