Bug#297574: gcj-4.0: ICE in compiling jar file with -O2: in remove_unreachable_regions, at except.c:694
Package: gcj-4.0
Version: 4.0-0pre5
Severity: important
Compiling Jerry Haltom eclipse package with -O2 flag.
Also fails with -O1, -Os, -O3. Pass with -O0.
jar is generated with gcj-4.0 -C and fastjar.
TODO: test if this work with latest snapshot
gcj-4.0 -O2 -Wl,-Bsymbolic -shared -fPIC -fjni -findirect-dispatch jdt.jar -o /tmp/jdt.jar.so -save-temps -v
Using built-in specs.
Reading specs from /usr/lib/gcc/i486-linux/4.0.0/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada --prefix=/usr --libexecdir=/usr/lib --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-mpfr i486-linux
Thread model: posix
gcc version 4.0.0 20050125 (experimental) (Debian 4.0-0pre5)
/usr/lib/gcc/i486-linux/4.0.0/jc1 jdt.jar -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fno-omit-frame-pointer -fkeep-inline-functions -quiet -dumpbase jdt.jar -mtune=i486 -auxbase jdt -O2 -version -fPIC -fjni -findirect-dispatch -o jdt.s
GNU Java version 4.0.0 20050125 (experimental) (Debian 4.0-0pre5) (i486-linux)
compiled by GNU C version 4.0.0 20050125 (experimental) (Debian 4.0-0pre5).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Class path starts here:
./
/usr/share/java/libgcj-4.0.0.jar/ (system) (zip)
/usr/share/java/ext/com-sun-tools-doclets-Taglet-0.7.1.jar/ (zip)
/usr/share/java/ext/gnu-classpath-tools-gjdoc-0.7.1.jar/ (zip)
/usr/share/java/ext/com-sun-javadoc-0.7.1.jar/ (zip)
org/eclipse/jdt/internal/corext/codemanipulation/OrganizeImportsOperation$TypeReferenceProcessor.java: In class 'org.eclipse.jdt.internal.corext.codemanipulation.OrganizeImportsOperation$TypeReferenceProcessor':
org/eclipse/jdt/internal/corext/codemanipulation/OrganizeImportsOperation$TypeReferenceProcessor.java: In method 'org.eclipse.jdt.internal.corext.codemanipulation.OrganizeImportsOperation$TypeReferenceProcessor.process(org.eclipse.jdt.core.dom.SimpleName,org.eclipse.core.runtime.IProgressMonitor)':
org/eclipse/jdt/internal/corext/codemanipulation/OrganizeImportsOperation$TypeReferenceProcessor.java:0: internal compiler error: in remove_unreachable_regions, at except.c:694
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (960, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)
Versions of packages gcj-4.0 depends on:
ii g++-4.0 4.0-0pre5 The GNU C++ compiler
ii gcc-4.0-base 4.0-0pre5 The GNU Compiler Collection (base
ii java-common 0.22 Base of all Java packages
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libgcc1 1:4.0-0pre5 GCC support library
ii libgcj6-common 4.0-0pre5 Java runtime library for use with
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information
Reply to: