This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [binfo] More binfo reworking
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 06 Jul 2004 19:58:39 -0700
- Subject: Re: [binfo] More binfo reworking
- Organization: CodeSourcery, LLC
- References: <40EA8BCC.4030303@codesourcery.com>
Nathan Sidwell wrote:
Mark,
I had hoped that I wouldn't need another patch before actually
extracting binfos. Alas, that was not to be. I got confused by
the BINFO_foo and TYPE_BINFO_foo macros -- we do not use them
consistently
in the c++ frontend, and they themselves claim to get base *types*, when
infact they get base *binfos* (the TYPE_BINFO_BASETYPE macro does get
you a type, which is different to the other TYPE_BINFO_foo macros, which
merely get to a types' binfo). I decided to remove all the TYPE_BINFO
macros and just rely on the BINFO ones. In addition I renamed those
accessing a base binfo to indicate so in their name (BINFO_BASE_BINFO
for instance).
With this change in place I'm much less likely to get binfo/type
confusion
at the next step.
booted and tested on i686-pc-linux gnu, ok?
OK.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com