public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jim at clkda dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/41233] Templated conversion operator produces symbol name that won't demangle Date: Thu, 25 Feb 2010 20:02:00 -0000 [thread overview] Message-ID: <20100225200155.18591.qmail@sourceware.org> (raw) In-Reply-To: <bug-41233-37@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from jim at clkda dot com 2010-02-25 20:01 ------- I think the T_ is not handling the forward reference to the not-yet-specified first template parameter correctly. For the original example, replacing T_ with N4DestE gives something that *looks* right although is probably not correct: _ZN9convertercvPN4DestEI4DestEEv which demangles to converter::operator Dest*<Dest>(). Similarly, in the second example, if I replace T_ with i, I get _ZNK3FooIPvEcvS_IiEIiEEv which demangles to Foo<void*>::operator Foo<int><int>() const. http://www.codesourcery.com/public/cxx-abi/abi.html#mangling is helpful. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41233
next prev parent reply other threads:[~2010-02-25 20:02 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-09-03 0:21 [Bug c++/41233] New: " zackw at panix dot com 2010-02-25 16:33 ` [Bug c++/41233] " jim at clkda dot com 2010-02-25 16:35 ` jim at clkda dot com 2010-02-25 20:02 ` jim at clkda dot com [this message] 2010-05-29 8:17 ` gcc at magfr dot user dot lysator dot liu dot se [not found] <bug-41233-4@http.gcc.gnu.org/bugzilla/> 2012-01-06 18:01 ` jason at gcc dot gnu.org 2012-01-20 5:22 ` jason at gcc dot gnu.org 2012-01-20 10:41 ` paolo.carlini at oracle dot com 2012-11-26 10:24 ` glisse at gcc dot gnu.org 2022-11-20 19:40 ` pinskia at gcc dot gnu.org 2022-11-20 20:17 ` zack+srcbugz at owlfolio dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100225200155.18591.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).