This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/2333: ICE in mark_reference_fields
- To: gcc-gnats at gcc dot gnu dot org
- Subject: java/2333: ICE in mark_reference_fields
- From: jsturm at one-point dot com
- Date: 21 Mar 2001 04:22:18 -0000
- Reply-To: jsturm at one-point dot com
>Number: 2333
>Category: java
>Synopsis: ICE in mark_reference_fields
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 20 20:26:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Jeff Sturm
>Release: gcc version 3.0 20010319 (prerelease)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
This is a recent regression on the branch discovered while
building Jacl. I've included a minimal test case
below.
I found that a non-record type is passed to push_super_field,
causing mark_reference_fields to eventually fail because it
expects a specific layout for the dummy field. The root cause
is perhaps a failed initialization of C.
>How-To-Repeat:
Compile the following code with "gcj -c A.java":
class B {
int b;
}
class C {
int c;
}
public class A {
AI ai;
class AI extends B {
CI ci;
}
class CI extends C {
}
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: