public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/17500] New: Anonymous inner class compile freakout
@ 2004-09-15 14:13 membar at gcc dot gnu dot org
  2004-09-15 14:22 ` [Bug java/17500] " membar at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: membar at gcc dot gnu dot org @ 2004-09-15 14:13 UTC (permalink / raw)
  To: java-prs

While trying to build SwingWT for i686-pc-mingw32 (haven't tested with
i686-pc-linux-gnu target).

[mohan@p450 SwingWT]$ i686-pc-mingw32-gcj -C --classpath=swt.jar:swingwt.zip
javax/swing/JList.java
javax/swing/JList.java: In class `javax.swing.JList$2':
javax/swing/JList.java: In constructor `(javax.swing.JList,java.lang.Object)':
javax/swing/JList.java:524: error: Local variable `parm$value' can't be accessed
from within the inner class `javax.swing.JList$2' unless it is declared final.
   }
   ^
javax/swing/JList.java:1: error: internal error in generate_bytecode_insn - tree
code not implemented: error_mark

-- 
           Summary: Anonymous inner class compile freakout
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: membar at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-mingw32


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


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

* [Bug java/17500] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
@ 2004-09-15 14:22 ` membar at gcc dot gnu dot org
  2004-09-15 14:28 ` mckinlay at redhat dot com
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: membar at gcc dot gnu dot org @ 2004-09-15 14:22 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From membar at gcc dot gnu dot org  2004-09-15 14:22 -------
Attachment was too big. Try:

http://www.thisiscool.com/temp/choke.tar.gz

-- 


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


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

* [Bug java/17500] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
  2004-09-15 14:22 ` [Bug java/17500] " membar at gcc dot gnu dot org
@ 2004-09-15 14:28 ` mckinlay at redhat dot com
  2004-09-15 14:32 ` membar at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mckinlay at redhat dot com @ 2004-09-15 14:28 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2004-09-15 14:27 -------
Could you try and isolate a small test case for this?

-- 


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


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

* [Bug java/17500] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
  2004-09-15 14:22 ` [Bug java/17500] " membar at gcc dot gnu dot org
  2004-09-15 14:28 ` mckinlay at redhat dot com
@ 2004-09-15 14:32 ` membar at gcc dot gnu dot org
  2004-09-24 13:11 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: membar at gcc dot gnu dot org @ 2004-09-15 14:32 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From membar at gcc dot gnu dot org  2004-09-15 14:32 -------
I tried, but wasn't successful. (I didn't try that hard, though.) At first
glance, it seems like when you prune away too much, everything works.

-- 


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


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

* [Bug java/17500] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-09-15 14:32 ` membar at gcc dot gnu dot org
@ 2004-09-24 13:11 ` pinskia at gcc dot gnu dot org
  2004-09-24 13:39 ` [Bug java/17500] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 13:11 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-24 13:11 -------
Does this work now?

-- 


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-09-24 13:11 ` pinskia at gcc dot gnu dot org
@ 2004-09-24 13:39 ` pinskia at gcc dot gnu dot org
  2004-09-24 13:40 ` membar at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 13:39 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Anonymous inner class       |[4.0 Regression] Anonymous
                   |compile freakout            |inner class compile freakout
   Target Milestone|---                         |4.0.0


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-09-24 13:39 ` [Bug java/17500] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-24 13:40 ` membar at gcc dot gnu dot org
  2004-09-24 15:35 ` tromey at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: membar at gcc dot gnu dot org @ 2004-09-24 13:40 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From membar at gcc dot gnu dot org  2004-09-24 13:40 -------
It didn't work a couple of days ago. I'll do a fresh get and try again now. Will
report back this evening (GMT-0600).

-- 


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-09-24 13:40 ` membar at gcc dot gnu dot org
@ 2004-09-24 15:35 ` tromey at gcc dot gnu dot org
  2004-09-24 16:07 ` tromey at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-09-24 15:35 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-09-24 15:35 -------
This still failed when I tried it yesterday


-- 


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-09-24 15:35 ` tromey at gcc dot gnu dot org
@ 2004-09-24 16:07 ` tromey at gcc dot gnu dot org
  2004-09-24 19:44 ` tromey at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-09-24 16:07 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |17574
              nThis|                            |


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-09-24 16:07 ` tromey at gcc dot gnu dot org
@ 2004-09-24 19:44 ` tromey at gcc dot gnu dot org
  2004-09-24 21:42 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-09-24 19:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-09-24 19:44 -------
Reduced test case:

public class pr17500
{
  public Object m1 (final Object one)
  {
    return new Comparable()
      {
	public int compareTo(Object other)
	{
	  return one == other ? 0 : 1;
	}
      };
  }

  public Object m2 (final Object two)
  {
    return new Comparable()
      {
	public int compareTo(Object other)
	{
	  return two == other ? 0 : 1;
	}
      };
  }
}


The bug has to do with mutating data returned from
a cache -- oops.  I have a patch I'm testing.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-24 19:44:41
               date|                            |


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-09-24 19:44 ` tromey at gcc dot gnu dot org
@ 2004-09-24 21:42 ` pinskia at gcc dot gnu dot org
  2004-09-25 14:16 ` membar at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 21:42 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-24 21:42 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02602.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2004-09-24 21:42 ` pinskia at gcc dot gnu dot org
@ 2004-09-25 14:16 ` membar at gcc dot gnu dot org
  2004-09-25 19:08 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: membar at gcc dot gnu dot org @ 2004-09-25 14:16 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From membar at gcc dot gnu dot org  2004-09-25 14:16 -------
This works for me. Thanks.

-- 


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2004-09-25 14:16 ` membar at gcc dot gnu dot org
@ 2004-09-25 19:08 ` cvs-commit at gcc dot gnu dot org
  2004-09-25 19:11 ` cvs-commit at gcc dot gnu dot org
  2004-09-25 19:11 ` tromey at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-25 19:08 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-09-25 19:08 -------
Subject: Bug 17500

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tromey@gcc.gnu.org	2004-09-25 19:08:27

Modified files:
	libjava        : ChangeLog 
Added files:
	libjava/testsuite/libjava.compile: pr17500.java 

Log message:
	PR java/17500:
	* testsuite/libjava.compile/pr17500.java: New file.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3091&r2=1.3092
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/pr17500.java.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2004-09-25 19:11 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-25 19:11 ` tromey at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-09-25 19:11 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-09-25 19:11 -------
Fix checked in


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


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


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

* [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
  2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2004-09-25 19:08 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-25 19:11 ` cvs-commit at gcc dot gnu dot org
  2004-09-25 19:11 ` tromey at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-25 19:11 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-09-25 19:11 -------
Subject: Bug 17500

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tromey@gcc.gnu.org	2004-09-25 19:11:07

Modified files:
	gcc/java       : ChangeLog parse.y 

Log message:
	PR java/17500:
	* parse.y (create_artificial_method): Use add_method_1.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1464&r2=1.1465
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.511&r2=1.512



-- 


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


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

end of thread, other threads:[~2004-09-25 19:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-15 14:13 [Bug java/17500] New: Anonymous inner class compile freakout membar at gcc dot gnu dot org
2004-09-15 14:22 ` [Bug java/17500] " membar at gcc dot gnu dot org
2004-09-15 14:28 ` mckinlay at redhat dot com
2004-09-15 14:32 ` membar at gcc dot gnu dot org
2004-09-24 13:11 ` pinskia at gcc dot gnu dot org
2004-09-24 13:39 ` [Bug java/17500] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-24 13:40 ` membar at gcc dot gnu dot org
2004-09-24 15:35 ` tromey at gcc dot gnu dot org
2004-09-24 16:07 ` tromey at gcc dot gnu dot org
2004-09-24 19:44 ` tromey at gcc dot gnu dot org
2004-09-24 21:42 ` pinskia at gcc dot gnu dot org
2004-09-25 14:16 ` membar at gcc dot gnu dot org
2004-09-25 19:08 ` cvs-commit at gcc dot gnu dot org
2004-09-25 19:11 ` cvs-commit at gcc dot gnu dot org
2004-09-25 19:11 ` 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).