Testcase:
class t1
{
  native t2 getParent();
  void gg(t1 t5)
  {
    t5 = t5.getParent();
  }
}
class t2 extends t1 { }

The other testcase reduced from gnu/awt/LightweightRedirector.java.

Again use the first patch in PR 22368.

-- 
           Summary: java produces mismatch types in MODIFY_EXPR, down cast
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: aph at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot
                    org,java-prs at gcc dot gnu dot org
OtherBugsDependingO 22368
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23315

Reply via email to