public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/7304: gcj-3.1 ICE
@ 2003-05-12 20:36 Dara Hazeghi
  0 siblings, 0 replies; 2+ messages in thread
From: Dara Hazeghi @ 2003-05-12 20:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/7304; it has been noted by GNATS.

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: java/7304: gcj-3.1 ICE
Date: Mon, 12 May 2003 13:26:31 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=7304
 
 Hello,
 
 this behavior still occurs in gcc 3.2, 3.3 branch and mainline  
 (20030511) on i686-linux.
 
 Dara
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* java/7304: gcj-3.1 ICE
@ 2002-07-14  4:36 Matthias Klose
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Klose @ 2002-07-14  4:36 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc


>Number:         7304
>Category:       java
>Synopsis:       gcj-3.1 ICE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 14 04:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     "Richard Braakman" <dark@xs4all.nl>
>Release:        3.1 (Debian) (Debian unstable)
>Organization:
The Debian Project
>Environment:
System: Debian GNU/Linux (unstable)
Architecture: i686
	
host: i386-linux
configured with: /mnt/data/gcc-3.1/gcc-3.1-3.1ds2/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=$\(prefix\)/share/man --infodir=$\(prefix\)/share/info --with-gxx-include-dir=$\(prefix\)/include/g++-v3-3.1 --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --enable-clocale=gnu --enable-threads=posix --enable-java-gc=boehm --enable-objc-gc i386-linux
>Description:
[ Reported to the Debian BTS as report #152501.
  Please CC 152501@bugs.debian.org on replies.
  Log of report can be found at http://bugs.debian.org/152501 ]

Rechecked with gcc-3_1-branch 20020606.

Hello, I found code on which gcj crashes.  I reduced it to a minimal test
case, and in the process found a workaround, so I'm happy :)  But here's
the test case:

File Main.java:
import pkg.sub;

class Main {
        public static void progressMessage(String msg) {
                System.out.println(msg);
        }

        public static void main(String[] args) {
                new sub();
        }
}


File pkg/sub.java:
package pkg;

public class sub {
        public sub() {
                        Main.progressMessage("Foo");
        }
}


Compilation:
% gcj-3.1 -I. -c Main.java -o Main.o
% gcj-3.1 -I. -c pkg/sub.java -o pkg/sub.o
pkg/sub.java:5: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I think the problem is also present upstream, because I got the same crash
with a non-debian version of gcj 3.1.  Changing "class Main" to
"public class Main" will make the crash go away.

Richard Braakman

	
>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-12 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 20:36 java/7304: gcj-3.1 ICE Dara Hazeghi
  -- strict thread matches above, loose matches on Subject: below --
2002-07-14  4:36 Matthias Klose

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).