Bug#344265: gcj-4.0: Segfault on -fdump-tree-all-all
Package: gcj-4.0
Version: 4.0.2-5j2
Severity: important
On the following Java code:
class Main {
public static void main (String[] args){
System.out.println("Hello World");
}
}
I have the following behaviour:
[fleury@carioca generic]$ gcj -fdump-tree-all-all --main=Main test1.java
test1.java: In class 'Main':
test1.java: In constructor '()':
test1.java:6: 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.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
But compilation without the -fdump-tree-all-all option is ok.
[fleury@carioca generic]$ gcj --main=Main test1.java
[fleury@carioca generic]$ ls
a.out Makefile test1.cpp test2.c
gcc_fdump-tree_option.txt test1.c test1.java test3.c
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages gcj-4.0 depends on:
ii gcc-4.0 4.0.2-5 The GNU C compiler
ii gij-4.0 4.0.2-5j2 The GNU Java bytecode
interpreter
ii java-common 0.23 Base of all Java packages
ii libc6 2.3.5-9 GNU C Library: Shared
libraries an
ii libgcc1 1:4.0.2-5 GCC support library
ii libgcj6 4.0.2-5j2 Java runtime library for
use with
ii libgcj6-common 4.0.2-5j2 Java runtime library for
use with
ii libgcj6-dev 4.0.2-5j2 Java development headers
and stati
ii sun-j2sdk1.5 [java-common 1.5.0+update05 Java(TM) 2 SDK, Standard
Edition,
ii zlib1g 1:1.2.3-8 compression library - runtime
Versions of packages gcj-4.0 recommends:
ii fastjar 1:4.0.2-5 Jar creation utility
-- no debconf information
Regards
--
Emmanuel Fleury
The Net is a waste of time, and that's exactly what's right about it.
-- William Gibson
Reply to: