java/4693: ICE in check_final_variable_indirect_assignment()
bryce@gcc.gnu.org
bryce@gcc.gnu.org
Thu Oct 25 20:06:00 GMT 2001
>Number: 4693
>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:01 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:
More information about the Gcc-prs
mailing list