This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Virtual bases and tail padding
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mark at codesourcery dot com
- Date: Tue, 26 Nov 2002 14:27:50 -0500 (EST)
- Subject: Re: C++ PATCH: Virtual bases and tail padding
> 2002-11-24 Mark Mitchell <mark@codesourcery.com>
>
> * g++.dg/abi/empty10.C: New test.
This test fails on hppa64-hp-hpux11. I also see that it is failing on ia64.
> + int main () {
> + if (((char*)(B*)&c - (char*)&c) != 8)
> + return 1;
I see a difference of 12 on hppa64. Is the number 8 incorrect for 64-bit
targets?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)