From: Daniel Jacobowitz <drow@mvista.com>
To: Michael Elizabeth Chastain <mec.gnu@mindspring.com>
Cc: gdb@sources.redhat.com
Subject: Re: gcc HEAD rearranges stabs members
Date: Wed, 31 Dec 2003 03:38:00 -0000 [thread overview]
Message-ID: <20031231033837.GA24563@nevyn.them.org> (raw)
In-Reply-To: <20031231011932.11CAF4B35A@berman.michael-chastain.com>
On Tue, Dec 30, 2003 at 08:19:32PM -0500, Michael Chastain wrote:
> drow> Might want to ping GCC about why this happened.
>
> It happened because the default abi version increased from 1 to 2.
>
> http://gcc.gnu.org/ml/gcc-patches/2003-12/msg01995.html
> C++ PATCH: Change default ABI version to 2
>
> Specifically, in cp/class.c:add_implicitly_declared_members,
> there is a test on ABI version:
>
> if (abi >= 2)
> /* G++ 3.2 put the implicit destructor at the *beginning* of the
> list, which cause the destructor to be emitted in an incorrect
> location in the vtable. */
> TYPE_METHODS (t) = chainon (TYPE_METHODS (t), implicit_fns);
Oh cute. Debug info is emitted in vtable order, so that explains why
the output changed.
Thanks for looking it up!
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-12-31 3:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-31 1:20 Michael Elizabeth Chastain
2003-12-31 3:38 ` Daniel Jacobowitz [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-12-30 20:57 Michael Elizabeth Chastain
2003-12-30 21:05 ` Daniel Jacobowitz
2003-12-31 3:39 ` Daniel Berlin
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=20031231033837.GA24563@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=mec.gnu@mindspring.com \
/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: link
Be 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