[Bug c++/9730] [ABI] 64BIT:err in class size for dump file

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 30 12:40:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9730


nathan at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


------- Additional Comments From nathan at gcc dot gnu dot org  2003-10-30 12:40 -------
FSF head gives this for both abi=1 and abi=2

Class D
   size=16 align=8
   base size=16 base align=8
D (0x402dbbc0) 0
    vptridx=0u vptr=((&D::_ZTV1D) + 24u)
  B (0x402dbc00) 0 empty virtual
      vbaseoffset=-0x00000000000000018
  C (0x402dbc40) 0
      primary-for D (0x402dbbc0)
      subvttidx=8u
    B (0x402dbc00) alternative-path

Why do you think D should be 24 bytes? AFAICT it should be 16
Or is it that ints are 64 bit? What switch should I use to turn that on?



More information about the Gcc-bugs mailing list