bug: extra four bytes between super/sub instance images, CNI not aware

Tom Tromey tromey@redhat.com
Sat Apr 20 13:15:00 GMT 2002


>>>>> "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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /