public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Carlo Wood <carlo@alinoe.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/3111: Demangler in libiberty.a is broken Date: Fri, 15 Jun 2001 09:36:00 -0000 [thread overview] Message-ID: <20010615163601.28137.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR c++/3111; it has been noted by GNATS. From: Carlo Wood <carlo@alinoe.com> To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/3111: Demangler in libiberty.a is broken Date: Fri, 15 Jun 2001 18:28:21 +0200 Another example of that the qualifiers decoding of libiberty is broken: /usr/src/gcc/gcc-cvs-3.0/libiberty>./c++filt _Z1fAszL_ZZNK1N1A1fEvE3foo_0E_i f(int[ sizeof(N::A::f()::foo) const]) Correct is (I am writing my own demangler, hence this bug report): ~/c++/libcw/src/libcwd>a.out _Z1fAszL_ZZNK1N1A1fEvE3foo_0E_i f(int[sizeof(::N::A::f(void) const::foo)]) Thus, the 'const' is shifted much too far to the right. -- Carlo Wood <carlo@alinoe.com>
next reply other threads:[~2001-06-15 9:36 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-15 9:36 Carlo Wood [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-02-28 0:11 neroden 2003-02-27 23:06 Carlo Wood 2003-02-27 19:31 bkoz 2003-02-26 18:11 bkoz 2002-04-26 3:33 nathan 2001-06-10 17:26 carlo
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=20010615163601.28137.qmail@sourceware.cygnus.com \ --to=carlo@alinoe.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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).