public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/28090]  New: incorrect implementation of expand_java_arraystore
@ 2006-06-19 23:07 tromey at gcc dot gnu dot org
  2006-06-20 17:37 ` [Bug java/28090] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-06-19 23:07 UTC (permalink / raw)
  To: java-prs

According to the ArrayStore.java test case, bounds checks should
take precedence over array store checks.  However, expand_java_arraystore
clearly does it in the wrong order:

  if (TREE_CODE (rhs_type_node) == POINTER_TYPE)
    {
      tree check = build_java_arraystore_check (array, rhs_node);
      java_add_stmt (check);
    }

  array = build_java_arrayaccess (array, rhs_type_node, index);


-- 
           Summary: incorrect implementation of expand_java_arraystore
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-01-09 20:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-19 23:07 [Bug java/28090] New: incorrect implementation of expand_java_arraystore tromey at gcc dot gnu dot org
2006-06-20 17:37 ` [Bug java/28090] " pinskia at gcc dot gnu dot org
2006-06-20 17:42 ` tromey at gcc dot gnu dot org
2006-06-20 20:22 ` tromey at gcc dot gnu dot org
2006-07-18 15:12 ` tromey at gcc dot gnu dot org
2006-09-13 10:10 ` bonzini at gnu dot org
2006-12-21 15:09 ` aph at gcc dot gnu dot org
2007-01-09 20:37 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).