This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]