Testcase, compile to native from source:
class t
{
  void f(Object[] releaseTargets)
  {
      releaseTargets[0] = null;
  }
}

t.2.java: In method 't.f(java.lang.Object[])':
t.2.java:1: error: statement types mismatch
releaseTargets.0D.397->dataD.387[D.405] = 0B;

struct  *
voidD.8 *
t.2.java:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Again use the first patch in PR 22368.

-- 
           Summary: java produces mismatch types in MODIFY_EXPR
           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=23314

Reply via email to