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




--On Tuesday, November 26, 2002 02:27:50 PM -0500 John David Anglin <dave@hiauly1.hia.nrc.ca> wrote:

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?
I'm a moron; that needs a x86 guard.  I'll fix it right away.

Thanks,

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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