public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Pinski <pinskia@physics.uc.edu>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: c++/10893: wrong class mapping for empty bases
Date: Wed, 21 May 2003 03:06:00 -0000	[thread overview]
Message-ID: <20030521030601.10889.qmail@sources.redhat.com> (raw)

The following reply was made to PR c++/10893; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: yanliu@ca.ibm.com
Cc: Andrew Pinski <pinskia@physics.uc.edu>, gcc-gnats@gcc.gnu.org
Subject: Re: c++/10893: wrong class mapping for empty bases
Date: Tue, 20 May 2003 23:01:08 -0400

 This has been fixed in 3.4 (I think 3.3 also) but only if you say that 
 you want the lasted c++ abi.
 
 3.4:
 Class D1
     size=8 align=4
     base size=8 base align=4
 D1 (0x103f240) 0
      vptridx=0 vptr=((&D1::_ZTV2D1) + 12)
    D (0x103f280) 0 nearly-empty
        primary-for D1 (0x103f240)
        subvttidx=4
      E1 (0x103f2c0) 4 empty virtual
          vbaseoffset=-12
        E (0x103f300) 4 empty
      E2 (0x103f340) 0 empty
        E (0x103f380) 0 empty
 
 
 3.4 with -fabi-version=0 aka the latest abi:
 Class D1
     size=12 align=4
     base size=8 base align=4
 D1 (0x103e240) 0
      vptridx=0 vptr=((&D1::_ZTV2D1) + 12)
    D (0x103e280) 0 nearly-empty
        primary-for D1 (0x103e240)
        subvttidx=4
      E1 (0x103e2c0) 8 empty virtual
          vbaseoffset=-12
        E (0x103e300) 12 empty
      E2 (0x103e340) 0 empty
        E (0x103e380) 0 empty
 
 
 Thanks,
 Andrew Pinski
 


             reply	other threads:[~2003-05-21  3:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21  3:06 Andrew Pinski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-21 13:57 bangerth
2003-05-21  2:36 yanliu

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=20030521030601.10889.qmail@sources.redhat.com \
    --to=pinskia@physics.uc.edu \
    --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: 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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).