public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/26192]  New: ICE while compiling jar or class file (azureus)
@ 2006-02-09 12:51 aph at gcc dot gnu dot org
  2006-02-09 12:53 ` [Bug java/26192] " aph at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-02-09 12:51 UTC (permalink / raw)
  To: java-prs

public class poo
{
  Object bar (boolean[] bb)
  {
    return bb.clone();
  }
}

ecj generates:

  1: invokevirtual <Method java.lang.Object.clone ()java.lang.Object>

BEA generates (with -source 1.5):

  1: invokevirtual <Method [Z.clone ()java.lang.Object>

and with -source 1.4:

  1: invokevirtual <Method java.lang.Object.clone ()java.lang.Object>

gcj can only cope with the Object.clone() form, not the boolean[].clone() form.

Fixing gcj to generate boolean[].clone() casues a fault in the runtime library.


-- 
           Summary: ICE while compiling jar or class file (azureus)
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: aph at redhat dot com
        ReportedBy: aph at gcc dot gnu dot org


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


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

* [Bug java/26192] ICE while compiling jar or class file (azureus)
  2006-02-09 12:51 [Bug java/26192] New: ICE while compiling jar or class file (azureus) aph at gcc dot gnu dot org
@ 2006-02-09 12:53 ` aph at gcc dot gnu dot org
  2006-02-09 14:03 ` aph at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-02-09 12:53 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from aph at gcc dot gnu dot org  2006-02-09 12:53 -------
Cross-reference https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180418


-- 

aph at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com,
                   |                            |green at redhat dot com,
                   |                            |jakub at redhat dot com


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


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

* [Bug java/26192] ICE while compiling jar or class file (azureus)
  2006-02-09 12:51 [Bug java/26192] New: ICE while compiling jar or class file (azureus) aph at gcc dot gnu dot org
  2006-02-09 12:53 ` [Bug java/26192] " aph at gcc dot gnu dot org
@ 2006-02-09 14:03 ` aph at gcc dot gnu dot org
  2006-02-09 14:05 ` aph at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-02-09 14:03 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from aph at gcc dot gnu dot org  2006-02-09 14:03 -------
Subject: Bug 26192

Author: aph
Date: Thu Feb  9 14:03:17 2006
New Revision: 110798

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110798
Log:
2006-02-09  Andrew Haley  <aph@redhat.com>

        PR java/26192
        * expr.c (expand_invoke): Allow methods in arrays to be resolved
        in their superclass.


Modified:
    branches/gcc-4_1-branch/gcc/java/ChangeLog
    branches/gcc-4_1-branch/gcc/java/expr.c


-- 


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


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

* [Bug java/26192] ICE while compiling jar or class file (azureus)
  2006-02-09 12:51 [Bug java/26192] New: ICE while compiling jar or class file (azureus) aph at gcc dot gnu dot org
  2006-02-09 12:53 ` [Bug java/26192] " aph at gcc dot gnu dot org
  2006-02-09 14:03 ` aph at gcc dot gnu dot org
@ 2006-02-09 14:05 ` aph at gcc dot gnu dot org
  2006-02-10 19:47 ` tromey at gcc dot gnu dot org
  2006-02-13 22:25 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-02-09 14:05 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from aph at gcc dot gnu dot org  2006-02-09 14:05 -------
Subject: Bug 26192

Author: aph
Date: Thu Feb  9 14:05:31 2006
New Revision: 110799

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110799
Log:
2006-02-09  Andrew Haley  <aph@redhat.com>

        PR java/26192
        * expr.c (expand_invoke): Allow methods in arrays to be resolved
        in their superclass.

        * typeck.c (build_java_array_type): Generate TYPE_STUB_DECLs for
        array types.


Modified:
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/expr.c
    trunk/gcc/java/typeck.c


-- 


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


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

* [Bug java/26192] ICE while compiling jar or class file (azureus)
  2006-02-09 12:51 [Bug java/26192] New: ICE while compiling jar or class file (azureus) aph at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-02-09 14:05 ` aph at gcc dot gnu dot org
@ 2006-02-10 19:47 ` tromey at gcc dot gnu dot org
  2006-02-13 22:25 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-02-10 19:47 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from tromey at gcc dot gnu dot org  2006-02-10 19:47 -------
Fixed in svn.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug java/26192] ICE while compiling jar or class file (azureus)
  2006-02-09 12:51 [Bug java/26192] New: ICE while compiling jar or class file (azureus) aph at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-02-10 19:47 ` tromey at gcc dot gnu dot org
@ 2006-02-13 22:25 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-02-13 22:25 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from tromey at gcc dot gnu dot org  2006-02-13 22:25 -------
Marking as fixed.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2006-02-13 22:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09 12:51 [Bug java/26192] New: ICE while compiling jar or class file (azureus) aph at gcc dot gnu dot org
2006-02-09 12:53 ` [Bug java/26192] " aph at gcc dot gnu dot org
2006-02-09 14:03 ` aph at gcc dot gnu dot org
2006-02-09 14:05 ` aph at gcc dot gnu dot org
2006-02-10 19:47 ` tromey at gcc dot gnu dot org
2006-02-13 22:25 ` 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).