From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: drow@mvista.com
Cc: gdb@sources.redhat.com
Subject: Re: gcc HEAD rearranges stabs members
Date: Wed, 31 Dec 2003 01:20:00 -0000 [thread overview]
Message-ID: <20031231011932.11CAF4B35A@berman.michael-chastain.com> (raw)
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);
else
{
if (warn_abi && virtual_dtor)
warning ("...");
*f = TYPE_METHODS (t);
TYPE_METHODS (t) = implicit_fns;
}
So the gcc folks know what they are doing. But we have to beware that
gcc HEAD might have new bugs because a bunch of little things change
with the ABI version. I will have to sift through a bunch of noise to
see if there are any real regressions.
Michael C
next reply other threads:[~2003-12-31 1:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-31 1:20 Michael Elizabeth Chastain [this message]
2003-12-31 3:38 ` Daniel Jacobowitz
-- 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=20031231011932.11CAF4B35A@berman.michael-chastain.com \
--to=mec.gnu@mindspring.com \
--cc=drow@mvista.com \
--cc=gdb@sources.redhat.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