This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

java/2333: ICE in mark_reference_fields



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


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