This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13447] New: Another demangler problem with method cv-qualifiers
- From: "drow at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2003 15:59:56 -0000
- Subject: [Bug c++/13447] New: Another demangler problem with method cv-qualifiers
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Try demangling this name:
_ZZN8CryptoPP7NullRNGEvENK7NullRNG13AlgorithmNameEv
The resulting tree looks like:
typed name
qualified name
typed name
qualified name
name 'CryptoPP'
name 'NullRNG'
function type
const this
qualified name
name 'NullRNG'
name 'AlgorithmName'
function type
It seems to me that the const this applies to the AlgorithmName, and should be
printed
after its argument list. Instead it's printed as:
CryptoPP::NullRNG()::NullRNG::AlgorithmName const()
The old demangler did this too. This is presumably caused by the 'odd' qualified
name whose leftmost part is a typed name.
--
Summary: Another demangler problem with method cv-qualifiers
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: ian at airs dot com
ReportedBy: drow at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i386-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13447