public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/5733: Segmentation fault of the java compiler
@ 2002-02-20  0:46 users
  0 siblings, 0 replies; 2+ messages in thread
From: users @ 2002-02-20  0:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5733
>Category:       java
>Synopsis:       Segmentation fault of the java compiler
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 19 23:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julien Cervelle
>Release:        3.0.3
>Organization:
>Environment:
System: Linux azure 2.4.13 #8 SMP Wed Nov 21 10:52:00 CET 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --prefix=/usr
>Description:
compilation produces a segmentation fault. It only occurs when
I add an import of classes which are neither standard java classes, nor
classes in the same directory.
>How-To-Repeat:
I have this file tree :

root -+- Main_class.java
      |
      +- Graph -- Sommet.java

Sommet.java :
import Graph.*;

public class Sommet {
    String s;

    public Sommet(String $name) {
        s=$name;
    }
    public String toString() {
        return s;
    }
}
-----

Main_class.java :
import Graph.*;

public class Main_class {
    public static void main(String args[]) {
        Sommet s=new Sommet("sommet");
        System.out.println(s);
    }
}


In the root directory, I launch

% gcj --main=Main_class Main_class.java 
Main_class.java:0: 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.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: java/5733: Segmentation fault of the java compiler
@ 2002-02-22 18:26 apbianco
  0 siblings, 0 replies; 2+ messages in thread
From: apbianco @ 2002-02-22 18:26 UTC (permalink / raw)
  To: apbianco, gcc-bugs, gcc-prs, java-prs, nobody, zonk

Synopsis: Segmentation fault of the java compiler

Responsible-Changed-From-To: unassigned->apbianco
Responsible-Changed-By: apbianco
Responsible-Changed-When: Fri Feb 22 17:24:02 2002
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->closed
State-Changed-By: apbianco
State-Changed-When: Fri Feb 22 17:24:02 2002
State-Changed-Why:
    This is fixed in the current tree.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5733


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

end of thread, other threads:[~2002-02-23  1:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-20  0:46 java/5733: Segmentation fault of the java compiler users
2002-02-22 18:26 apbianco

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