public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: pierre.habouzit@m4x.org
To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org
Subject: java/6484: Error of compilation of GCJ-3.0 (debian gcj-3.0.4-5
Date: Fri, 26 Apr 2002 17:16:00 -0000	[thread overview]
Message-ID: <20020427000608.92B35A9BB0@madcoder.eleves.polytechnique.fr> (raw)


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


             reply	other threads:[~2002-04-27  0:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26 17:16 pierre.habouzit [this message]
2002-04-27 12:46 Tom Tromey
2002-04-27 15:16 Pierre Habouzit
2002-04-30 11:14 tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020427000608.92B35A9BB0@madcoder.eleves.polytechnique.fr \
    --to=pierre.habouzit@m4x.org \
    --cc=debian-gcc@lists.debian.org \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).