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

Bug#189545: ICE with certain expressions as 3rd clause of for loop



Package: gcj-3.3
Version: 1:3.3-0pre4
Severity: normal

there:[/tmp] gcj-3.3 -C ICE.java 
ICE.java:4: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
zsh: exit 1     gcj-3.3 -C ICE.java

Test case attached.  This was derived from code which could be successfully
compiled by other compilers, such as jikes and sun.tools.javac.  It does not
appear to matter what classes or methods are being referenced; as you can
see I have replaced them with arbitrary nonexistent identifiers, and the
error persists.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux there 2.4.20-1-686 #1 Sat Mar 22 13:16:21 EST 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set)

Versions of packages gcj-3.3 depends on:
ii  gcc-3.3                      1:3.3-0pre4 The GNU C compiler
ii  gcc-3.3-base                 1:3.3-0pre4 The GNU Compiler Collection (base 
ii  java-common                  0.19        Base of all Java packages
ii  libc6                        2.3.1-16    GNU C Library: Shared libraries an
ii  libgcc1                      1:3.3-0pre4 GCC support library
ii  libgcj4                      1:3.3-0pre4 Java runtime library for use with 
ii  libgcj4-dev                  1:3.3-0pre4 Java development headers and stati
ii  zlib1g                       1:1.1.4-11  compression library - runtime

-- no debconf information

-- 
 - mdz
public class ICE {

	public void aMethod() {
		for (; ;someclass.othermethod().someothermethod());

	}
}

Reply to: