public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13447] New: Another demangler problem with method cv-qualifiers
@ 2003-12-19 16:32 drow at gcc dot gnu dot org
  2003-12-19 16:35 ` [Bug c++/13447] " ian at wasabisystems dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: drow at gcc dot gnu dot org @ 2003-12-19 16:32 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-07-01 10:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-19 16:32 [Bug c++/13447] New: Another demangler problem with method cv-qualifiers drow at gcc dot gnu dot org
2003-12-19 16:35 ` [Bug c++/13447] " ian at wasabisystems dot com
2003-12-19 16:37 ` drow at mvista dot com
2003-12-19 18:41 ` ian at wasabisystems dot com
2003-12-19 18:57 ` drow at mvista dot com
2003-12-19 19:18 ` ian at wasabisystems dot com
2003-12-19 19:28 ` giovannibajo at libero dot it
2003-12-19 19:29 ` drow at mvista dot com
2003-12-19 21:45 ` cvs-commit at gcc dot gnu dot org
2003-12-20  0:32 ` ian at airs dot com
2003-12-20  1:59 ` dhazeghi at yahoo dot com
2004-06-28 22:34 ` cvs-commit at gcc dot gnu dot org
2004-07-01 10:59 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).