public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/16867] New: Inline array initializer miscompilation at -O
@ 2004-08-03 20:47 mckinlay at redhat dot com
  2004-08-03 20:49 ` [Bug java/16867] " mckinlay at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: mckinlay at redhat dot com @ 2004-08-03 20:47 UTC (permalink / raw)
  To: java-prs

The following test case fails when compiled with mainline at -O. This is a
regression since 3.4.

public class ArrayInit
{
  public static Object[] getFoo()
  {
    return new Object[] {"OK"};
  }

  public static void main(String[] args)
  {
    Object[] a = getFoo();
    System.out.println(a[0]);
  }
}

-- 
           Summary: Inline array initializer miscompilation at -O
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckinlay at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


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

end of thread, other threads:[~2004-08-12 14:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-03 20:47 [Bug java/16867] New: Inline array initializer miscompilation at -O mckinlay at redhat dot com
2004-08-03 20:49 ` [Bug java/16867] " mckinlay at redhat dot com
2004-08-03 20:55 ` [Bug tree-optimization/16867] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-08-03 22:24 ` mckinlay at redhat dot com
2004-08-09 10:04 ` pinskia at gcc dot gnu dot org
2004-08-09 10:29 ` steven at gcc dot gnu dot org
2004-08-09 11:32 ` fw at deneb dot enyo dot de
2004-08-09 20:11 ` mckinlay at redhat dot com
2004-08-12 14:34 ` cvs-commit at gcc dot gnu dot org
2004-08-12 14:39 ` dnovillo 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).