This is the mail archive of the java-prs@sourceware.cygnus.com 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]

gcj/56: gcj segfaults in jc1 on OK java file



>Number:         56
>Category:       gcj
>Synopsis:       gcj segfaults in jc1 on OK java file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 30 14:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Steven Ashe
>Release:        gcj-2.95.1
>Organization:
>Environment:
rh linux 6.0 with gcc 2.95-1 and gdb 4.18
>Description:
The attached reduced-case test file causes a segfault
from jc1: (Can't get it much shorter...)

public final class Foo {
    public static void main(String[] args) {
        Object o = args;
        int[]  a;
        if (!(o instanceof int[]) || (a = (int[])o).length != 2) {
        }
    }
}
>How-To-Repeat:
see above
>Fix:

>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]