This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

java/6085: inner class SEGV



>Number:         6085
>Category:       java
>Synopsis:       gcj SEGVs on complicated inner class structures
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 28 12:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Goran Thyni
>Release:        3.1 20020328 (prerelease)
>Organization:
kirra.net
>Environment:
System: Linux trotskij 2.4.16 #8 Sun Dec 2 13:23:27 CET 2001 i586 unknown
Architecture: i586

	
host: i586-pc-linux-gnu
build: i586-pc-linux-gnu
target: i586-pc-linux-gnu
configured with: ./configure --prefix=/usr/local/gcc --enable-threads --enable-languages=java --disable-static : (reconfigured) ./configure i586-pc-linux-gnu --prefix=/usr/local/gcc --enable-threads --enable-languages=java --disable-static : (reconfigured)  : (reconfigured)  : (reconfigured) 
>Description:
This code SEGV gcj compiler:

public abstract class F
{
    private static final class F1
    {
        private abstract class F11 { }
	private final class F12 extends F11 { }
    }
}

>How-To-Repeat:

bash-2.05a$ gcj -c F.java 
F.java: In class `F$F1$F12':
F.java: In constructor `(F$F1)':
F.java:1: 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:
if static is removed the code above compiles without crashes

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]