public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/27643]  New: ICE in java_mark_cni_decl_local compiling bytecode->native
@ 2006-05-17 16:13 mckinlay at redhat dot com
  2006-05-18  7:36 ` [Bug java/27643] " rmathew at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mckinlay at redhat dot com @ 2006-05-17 16:13 UTC (permalink / raw)
  To: java-prs

The following test case crashes:

$ gcj -C PipeImpl.java
$ gcj -c *.class -o t.o
PipeImpl.java:0: internal compiler error: in java_mark_cni_decl_local, at
java/decl.c:2182

class PipeImpl
{
  public PipeImpl ()
  {
    VMPipe.init (this);
  }
}

final class VMPipe
{
  static native void init(PipeImpl self);
}


-- 
           Summary: ICE in java_mark_cni_decl_local compiling bytecode-
                    >native
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckinlay at redhat dot com


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


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

* [Bug java/27643] ICE in java_mark_cni_decl_local compiling bytecode->native
  2006-05-17 16:13 [Bug java/27643] New: ICE in java_mark_cni_decl_local compiling bytecode->native mckinlay at redhat dot com
@ 2006-05-18  7:36 ` rmathew at gcc dot gnu dot org
  2006-05-18 16:01 ` tromey at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2006-05-18  7:36 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from rmathew at gcc dot gnu dot org  2006-05-18 07:36 -------
I'm not able to reproduce this problem with the current mainline (2006-05-18).


-- 


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


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

* [Bug java/27643] ICE in java_mark_cni_decl_local compiling bytecode->native
  2006-05-17 16:13 [Bug java/27643] New: ICE in java_mark_cni_decl_local compiling bytecode->native mckinlay at redhat dot com
  2006-05-18  7:36 ` [Bug java/27643] " rmathew at gcc dot gnu dot org
@ 2006-05-18 16:01 ` tromey at gcc dot gnu dot org
  2006-05-22  8:56 ` rmathew at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-05-18 16:01 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2006-05-18 16:01 -------
I was able to reproduce yesterday; but I'm updating and rebuilding
just to be sure.

The bug is dependent on the order in which the .class files are read.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-18 16:01:56
               date|                            |


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


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

* [Bug java/27643] ICE in java_mark_cni_decl_local compiling bytecode->native
  2006-05-17 16:13 [Bug java/27643] New: ICE in java_mark_cni_decl_local compiling bytecode->native mckinlay at redhat dot com
  2006-05-18  7:36 ` [Bug java/27643] " rmathew at gcc dot gnu dot org
  2006-05-18 16:01 ` tromey at gcc dot gnu dot org
@ 2006-05-22  8:56 ` rmathew at gcc dot gnu dot org
  2006-05-24 17:23 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2006-05-22  8:56 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from rmathew at gcc dot gnu dot org  2006-05-22 08:56 -------
OK, I was able to reproduce this. My problem was that I had a
"--disable-checking"
build. If the order of the class files is "PipeImpl.class VMPipe.class", I get
an error; if the order is the other way around, I don't.


-- 


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


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

* [Bug java/27643] ICE in java_mark_cni_decl_local compiling bytecode->native
  2006-05-17 16:13 [Bug java/27643] New: ICE in java_mark_cni_decl_local compiling bytecode->native mckinlay at redhat dot com
                   ` (2 preceding siblings ...)
  2006-05-22  8:56 ` rmathew at gcc dot gnu dot org
@ 2006-05-24 17:23 ` tromey at gcc dot gnu dot org
  2007-01-25 23:59 ` tromey at gcc dot gnu dot org
  2007-12-18 14:06 ` aph at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-05-24 17:23 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from tromey at gcc dot gnu dot org  2006-05-24 17:23 -------
I have a patch I'm testing.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-05-18 16:01:56         |2006-05-24 17:23:37
               date|                            |


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


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

* [Bug java/27643] ICE in java_mark_cni_decl_local compiling bytecode->native
  2006-05-17 16:13 [Bug java/27643] New: ICE in java_mark_cni_decl_local compiling bytecode->native mckinlay at redhat dot com
                   ` (3 preceding siblings ...)
  2006-05-24 17:23 ` tromey at gcc dot gnu dot org
@ 2007-01-25 23:59 ` tromey at gcc dot gnu dot org
  2007-12-18 14:06 ` aph at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-25 23:59 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from tromey at gcc dot gnu dot org  2007-01-25 23:59 -------
Works in svn trunk.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

* [Bug java/27643] ICE in java_mark_cni_decl_local compiling bytecode->native
  2006-05-17 16:13 [Bug java/27643] New: ICE in java_mark_cni_decl_local compiling bytecode->native mckinlay at redhat dot com
                   ` (4 preceding siblings ...)
  2007-01-25 23:59 ` tromey at gcc dot gnu dot org
@ 2007-12-18 14:06 ` aph at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: aph at gcc dot gnu dot org @ 2007-12-18 14:06 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from aph at gcc dot gnu dot org  2007-12-18 14:06 -------
Subject: Bug 27643

Author: aph
Date: Tue Dec 18 14:06:15 2007
New Revision: 131036

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131036
Log:
2007-12-18  Andrew Haley  <aph@redhat.com>

        PR java/27643
        * jcf-parse.c (java_parse_file): Remove call to
        java_mark_class_local.
        (parse_class_file): Reinstate call to java_mark_class_local here.
        * decl.c (java_mark_cni_decl_local): If the ASSEMBLER_NAME is
        already set, call java_mangle_decl() and make_decl_rtl() to
        rewrite its name as a hidden alias.


Modified:
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/decl.c
    trunk/gcc/java/jcf-parse.c


-- 


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


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

end of thread, other threads:[~2007-12-18 14:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-17 16:13 [Bug java/27643] New: ICE in java_mark_cni_decl_local compiling bytecode->native mckinlay at redhat dot com
2006-05-18  7:36 ` [Bug java/27643] " rmathew at gcc dot gnu dot org
2006-05-18 16:01 ` tromey at gcc dot gnu dot org
2006-05-22  8:56 ` rmathew at gcc dot gnu dot org
2006-05-24 17:23 ` tromey at gcc dot gnu dot org
2007-01-25 23:59 ` tromey at gcc dot gnu dot org
2007-12-18 14:06 ` aph 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).