[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Error of compilation of GCJ-3.0 (debian gcj-3.0.4-5



>Submitter-Id:	net
>Originator:	MadCoder
>Organization:	
>Confidential:	no
>Synopsis:	Error of compilation of GCJ-3.0 (debian gcj-3.0.4-5
>Severity:	critical
>Priority:	medium
>Category:	java
>Class:		wrong-code
>Release:	3.0.4 (Debian testing/unstable)
>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:


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: