From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31000 invoked by alias); 30 May 2002 06:26:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30984 invoked by uid 71); 30 May 2002 06:26:02 -0000 Date: Wed, 29 May 2002 23:56:00 -0000 Message-ID: <20020530062602.30983.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Bryce McKinlay Subject: Re: java/5042: java: wrong addressing of inner class attributes Reply-To: Bryce McKinlay X-SW-Source: 2002-05/txt/msg00980.txt.bz2 List-Id: The following reply was made to PR java/5042; it has been noted by GNATS. From: Bryce McKinlay To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: java/5042: java: wrong addressing of inner class attributes Date: Thu, 30 May 2002 18:19:09 +1200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5042 I've just been looking at the code produced by the current GCJ for AbstractCharReader.scanExpectedName: movl 16(%ebp), %eax # expectedName, expectedName movzwl 12(%ebp), %edx # fastcheck movl 8(%ebp), %ebx # this, this cmpb $11, _ZN3org6apache6xerces5utils22XMLCharacterProperties6class$E+74 # .state movl 52(%ebx), %esi # .fMostRecentChar, ch movl %edx, -16(%ebp) # fastcheck movl 8(%eax), %edx # .chars Here the expectedName.chars field is accessed at offset 8 which seems correct to me (the first two fields are the class pointer and this$0). Does this bug still occur with GCc 3.1 or newwer or should I close this PR? regards Bryce.