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]

java/4694: ICE in check_final_variable_indirect_assignment()



>Number:         4694
>Category:       java
>Synopsis:       ICE in check_final_variable_indirect_assignment()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 25 20:06:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        trunk
>Organization:
>Environment:
in flux
>Description:
The test case below is distilled from the latest TreeMap code in classpath.
>How-To-Repeat:
// CheckFinalCrash.java:16: Internal compiler error in check_final_variable_indirect_assignment, at java/parse.y:12655

class X
{
  Object o()
  {
    return null;
  }
}

public class CheckFinalCrash
{
  final Object comparator;

  public CheckFinalCrash(Object o)
  {
    comparator = o;
  }

  public CheckFinalCrash(X x)
  {
    this(x.o());
  }
}
>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]