From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17304 invoked by alias); 27 Apr 2002 00:16: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 17235 invoked by uid 71); 27 Apr 2002 00:16:02 -0000 Resent-Date: 27 Apr 2002 00:16:02 -0000 Resent-Message-ID: <20020427001602.17234.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, pierre.habouzit@m4x.org Received:(qmail 13515 invoked from network); 27 Apr 2002 00:06:05 -0000 Received: from unknown (HELO x-mailer.polytechnique.fr) (129.104.35.1) by sources.redhat.com with SMTP; 27 Apr 2002 00:06:05 -0000 Received: from madcoder.eleves.polytechnique.fr ([129.104.221.165]) by x-mailer.polytechnique.fr (x.y.z/x.y.z) with ESMTP id CAA13997; Sat, 27 Apr 2002 02:06:27 +0200 (MET DST) Received: by madcoder.eleves.polytechnique.fr (Postfix, from userid 1000) id 92B35A9BB0; Sat, 27 Apr 2002 02:06:08 +0200 (CEST) Message-Id:<20020427000608.92B35A9BB0@madcoder.eleves.polytechnique.fr> Date: Fri, 26 Apr 2002 17:16:00 -0000 From: pierre.habouzit@m4x.org To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version:3.113 Subject: java/6484: Error of compilation of GCJ-3.0 (debian gcj-3.0.4-5 X-SW-Source: 2002-04/txt/msg01505.txt.bz2 List-Id: >Number: 6484 >Category: java >Synopsis: Error of compilation of GCJ-3.0 (debian gcj-3.0.4-5 >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Fri Apr 26 17:16:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: MadCoder >Release: 3.0.4 (Debian testing/unstable) >Organization: >Environment: System: Linux madcoder 2.4.18 #1 mer avr 17 16:07:21 CEST 2002 i686 unknown Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux >Description: there is a bug when compiling this function: ,------------------------------------------------------- void setInt(int newInt, int pos) { set[pos] = newInt; for(int i=0; i<=pos; i++) ++sums[set[i]+newInt]; } `------------------------------------------------------- where set is an int[]. but the compilation is good when you use : ,------------------------------------------------------- void setInt(int newInt, int pos) { set[pos] = newInt; for(int i=0; i<=pos; i++) sums[set[i]+newInt] += 1; } `------------------------------------------------------- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: