This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: bug: extra four bytes between super/sub instance images, CNI not aware


>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

Adam> Can somebody confirm that this is a bug? The program below
Adam> prints out "0" rather than "3". Closer inspection reveals that
Adam> foo() is looking at a memory location four bytes less than wher
Adam> y is. This behavior occurs on both Win32 and Linux.

Bryce> I get this too. Is this a regression?

I don't know if it is or not.  I want to understand why I don't see
the problem.

Adam, why are you using -fno-rtti?  Bryce, does removing it affect
your results?  (It doesn't for me.)

Do the generated .h files look correct?  Mine do.

Tom


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