This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: bug: extra four bytes between super/sub instance images, CNI not aware
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: Adam Megacz <gcj at lists dot megacz dot com>, java at gcc dot gnu dot org
- Date: 20 Apr 2002 11:27:55 -0600
- Subject: Re: bug: extra four bytes between super/sub instance images, CNI not aware
- References: <86vgangp3v.fsf@megacz.com> <3CC107A2.5000003@waitaki.otago.ac.nz>
- Reply-to: tromey at redhat dot com
>>>>> "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