From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28033 invoked by alias); 27 Apr 2002 19:46:06 -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 27988 invoked by uid 71); 27 Apr 2002 19:46:03 -0000 Date: Sat, 27 Apr 2002 12:46:00 -0000 Message-ID: <20020427194603.27983.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Tom Tromey Subject: Re: java/6484: Error of compilation of GCJ-3.0 (debian gcj-3.0.4-5 Reply-To: Tom Tromey X-SW-Source: 2002-04/txt/msg01523.txt.bz2 List-Id: The following reply was made to PR java/6484; it has been noted by GNATS. From: Tom Tromey To: pierre.habouzit@m4x.org Cc: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org Subject: Re: java/6484: Error of compilation of GCJ-3.0 (debian gcj-3.0.4-5 Date: 27 Apr 2002 13:44:59 -0600 >>>>> "Pierre" == pierre habouzit writes: Pierre> Synopsis: Error of compilation of GCJ-3.0 (debian gcj-3.0.4-5 Pierre> Release: 3.0.4 (Debian testing/unstable) Pierre> there is a bug when compiling this function: Pierre> ,------------------------------------------------------- Pierre> void setInt(int newInt, int pos) { Pierre> set[pos] = newInt; Pierre> for(int i=0; i<=pos; i++) ++sums[set[i]+newInt]; Pierre> } Pierre> `------------------------------------------------------- Could you be more specific? What happens? What did you expect to happen? When I compile this to bytecode with gcj3.1, the output is identical either way. Are you compiling to object code? What flags are you using? Can you send a complete short program that shows the exact problem? That would be most convenient. Thanks, Tom