[Bug libgcj/23495] java.lang.String.equals is suboptimal

2005-08-29 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-30 01:17 --- (In reply to comment #7) This seems like something glibc's memcmp should be doing also, could you report a bug to glibc about this comparison? Actually I was wrong - it's not glibc's memcmp that's being used

[Bug libgcj/23495] java.lang.String.equals is suboptimal

2005-08-28 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-28 23:25 --- memcmp (which is compiled for i686 in fedora because it is part of glibc) is actually less efficient than the current code on my athlon! I was so surprised, I ran the memcmp benchmark again, and the results

[Bug libgcj/23495] New: java.lang.String.equals is suboptimal

2005-08-20 Thread greenrd at greenrd dot org
: java.lang.String.equals is suboptimal Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: minor Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org

[Bug libgcj/23495] java.lang.String.equals is suboptimal

2005-08-20 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-20 16:29 --- Created an attachment (id=9549) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9549action=view) Benchmark This is the equality benchmark I used. Uncomment the //ca [0] = 'b'; line and negate the assertion

[Bug java/23500] New: Optimization: Skip _Jv_InitClass for intra-class static method calls

2005-08-20 Thread greenrd at greenrd dot org
Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org 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

[Bug libgcj/23367] New: _Jv_FindMethodInCache is not thread-safe

2005-08-12 Thread greenrd at greenrd dot org
Status: UNCONFIRMED Severity: critical Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu

[Bug libgcj/22211] [4.0 only] Thread.interrupt sometimes causes abort if thread is already dead

2005-08-08 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-09 00:11 --- (In reply to comment #7) I checked this in to cvs trunk. It should go in 4.0 as well once the branch reopens. Ping. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22211

[Bug libgcj/22189] Table Full in gcj-dbtool if -m option used with smallest possible input

2005-08-08 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-09 00:09 --- Fixed on head (weeks ago). -- What|Removed |Added Status|ASSIGNED

[Bug java/23220] [3.4/4.0/4.1 Regression] ICE in a specific doubly-nested class

2005-08-08 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-09 00:44 --- Fixed by my fix to bug 23230 *** This bug has been marked as a duplicate of 23230 *** -- What|Removed |Added

[Bug java/23230] Wrong this used when call made to superclass which is also superclass of enclosing class

2005-08-08 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-09 00:44 --- *** Bug 23220 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug java/18131] [meta-bug] inner class problems in java front-end

2005-08-08 Thread greenrd at greenrd dot org
-- Bug 18131 depends on bug 23220, which changed state. Bug 23220 Summary: [3.4/4.0/4.1 Regression] ICE in a specific doubly-nested class http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23220 What|Old Value |New Value

[Bug java/23230] Wrong this used when call made to superclass which is also superclass of enclosing class

2005-08-07 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-07 11:51 --- The patch is tested and is in the gcc patch queue @ http://www.dberlin.org/cgi-bin/patches.py -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23230

[Bug java/23230] New: Wrong this used when call made to superclass which is also superclass of enclosing class

2005-08-04 Thread greenrd at greenrd dot org
Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org

[Bug java/23230] Wrong this used when call made to superclass which is also superclass of enclosing class

2005-08-04 Thread greenrd at greenrd dot org
-- What|Removed |Added OtherBugsDependingO||18131, 23220 nThis|| Keywords|

[Bug java/23220] [3.4/4.0/4.1 Regression] ICE in a specific doubly-nested class

2005-08-04 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-04 15:07 --- Backtrace: #0 0x08066846 in java_complete_lhs (node=0x0) at /var/tmp/portage/gcc-4.1.0_beta20050730/work/gcc-4.1-20050730/gcc/java/parse.y:11665 #1 0x08066757 in java_complete_tree (node=0x0) at /var/tmp

[Bug java/23230] Wrong this used when call made to superclass which is also superclass of enclosing class

2005-08-04 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-04 15:26 --- The relevant part of the JLS is section 15.12.1 @ http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#20448 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23230

[Bug java/23230] Wrong this used when call made to superclass which is also superclass of enclosing class

2005-08-04 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-08-04 22:03 --- I'm testing a patch. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu

[Bug java/23220] New: ICE in a specific doubly-nested class

2005-08-03 Thread greenrd at greenrd dot org
at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org 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=23220

[Bug libgcj/13212] AttachCurrentThread() not working

2005-07-31 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-07-31 22:21 --- Strangely, this bug is hard to reproduce - with the rssowl test case - with a system compiled for i386. However, the rssowl test case (just start rssowl and load some feeds) appears to be reproducable easily

[Bug bootstrap/22314] New: ICE in make profiledbootstrap: corrupted profile info for gcc/dominance.c

2005-07-05 Thread greenrd at greenrd dot org
Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs 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

[Bug bootstrap/22314] ICE in make profiledbootstrap: corrupted profile info for gcc/dominance.c

2005-07-05 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-07-05 19:54 --- Created an attachment (id=9210) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9210action=view) gzipped testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22314

[Bug libgcj/13212] AttachCurrentThread() not working

2005-06-29 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-29 13:21 --- This breaks rssowl and any other SWT application that uses the embedded Browser widget. -- What|Removed |Added

[Bug libgcj/22211] Thread.interrupt sometimes causes abort if thread is already dead

2005-06-29 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-29 17:20 --- Sure. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22211

[Bug libgcj/22211] Thread.interrupt sometimes causes abort if thread is already dead

2005-06-28 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-28 09:18 --- Working on a patch, but bugzilla won't let me own this bug because it hasn't been confirmed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22211

[Bug libgcj/22211] Thread.interrupt sometimes causes abort if thread is already dead

2005-06-28 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-28 15:12 --- Ignore previous comment. As a (probably overzealous) legal precaution, I will not be submitting a patch. (For the record, I do not believe any of my previous contributions are problematic in any way.) Consider

[Bug libgcj/22211] New: Thread.interrupt sometimes causes abort if thread is already dead

2005-06-27 Thread greenrd at greenrd dot org
if thread is already dead Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot

[Bug libgcj/22189] Table Full in gcj-dbtool if -m option used with smallest possible input

2005-06-26 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-26 12:39 --- The problem is that a PersistentByteMap of capacity 1 is created by -m, but when a PersistentByteMap is created with capacity 1, its capacity method incorrectly returns 0. This is because, when it is created

[Bug libgcj/22186] New: gnu.gcj.precompiled.db.path ignored for method which calls JNI native method

2005-06-25 Thread greenrd at greenrd dot org
Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org 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=22186

[Bug libgcj/22186] gnu.gcj.precompiled.db.path ignored for method which calls JNI native method

2005-06-25 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-25 16:19 --- Created an attachment (id=9150) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9150action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22186

[Bug libgcj/22187] New: gnu.gcj.precompiled.db.path ignored for method which calls JNI native method

2005-06-25 Thread greenrd at greenrd dot org
Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org 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=22187

[Bug libgcj/22187] gnu.gcj.precompiled.db.path ignored for method which calls JNI native method

2005-06-25 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-25 16:25 --- My buggy browser plugin submitted this bug twice. *** This bug has been marked as a duplicate of 22186 *** -- What|Removed |Added

[Bug libgcj/22186] gnu.gcj.precompiled.db.path ignored for method which calls JNI native method

2005-06-25 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-25 16:25 --- *** Bug 22187 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22186

[Bug libgcj/22186] gnu.gcj.precompiled.db.path ignored for method which calls JNI native method

2005-06-25 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-25 17:35 --- Actually, I just added -fjni (to the aot-compile command line), and it did fix the bug for me. Thanks! Marking this bug INVALID. -- What|Removed |Added

[Bug libgcj/22189] New: Table Full in gcj-dbtool if -m option used with smallest possible input

2005-06-25 Thread greenrd at greenrd dot org
Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs

[Bug libgcj/22189] Table Full in gcj-dbtool if -m option used with smallest possible input

2005-06-25 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-26 02:42 --- Created an attachment (id=9151) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9151action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22189

[Bug c/22080] New: Unable to find a register to spill in C function - no embedded asm

2005-06-15 Thread greenrd at greenrd dot org
Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22080

[Bug c/22080] Unable to find a register to spill in C function - no embedded asm

2005-06-15 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-15 16:56 --- Created an attachment (id=9093) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9093action=view) gzipped preprocessed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22080

[Bug libgcj/21798] New: Generational garbage collector?

2005-05-28 Thread greenrd at greenrd dot org
Severity: enhancement Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http

[Bug libgcj/21775] NPE in java::util::logging::Logger::getCallerStackFrame caused by incorrect hand-optimization

2005-05-27 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-05-27 18:12 --- Here is the patch, which I've tested with both my reduced and my real test cases: --- libjava/java/util/logging/natLogger.cc.orig 2005-05-27 19:09:32.0 +0100 +++ libjava/java/util/logging

[Bug libgcj/21775] New: NPE in java::util::logging::Logger::getCallerStackFrame caused by incorrect hand-optimization

2005-05-26 Thread greenrd at greenrd dot org
Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org 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

[Bug libgcj/21775] NPE in java::util::logging::Logger::getCallerStackFrame caused by incorrect hand-optimization

2005-05-26 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-05-27 00:00 --- Created an attachment (id=8975) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8975action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21775

[Bug libgcj/21775] NPE in java::util::logging::Logger::getCallerStackFrame caused by incorrect hand-optimization

2005-05-26 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-05-27 01:00 --- Oops - my diagnosis was slightly incorrect. The stack trace is in fact correct, and it was klass.name that was null, not klass itself. But my conclusion is still correct - the first loop runs merrily over

[Bug web/21423] New: http://gcc.gnu.org/java/status.html needs updating

2005-05-06 Thread greenrd at greenrd dot org
: P2 Component: web AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21423

[Bug libgcj/18376] java.io.BufferedWriter outputing extraneous characters?

2005-04-28 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-04-28 22:38 --- Please reopen. JDK1.5 javadocs for BufferedReader.read include this new information: As an additional convenience, it attempts to read as many characters as possible by repeatedly invoking the read method

[Bug java/21016] New: Indirect dispatch code generated when using -findirect-dispatch has wrong line numbers

2005-04-13 Thread greenrd at greenrd dot org
Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org

[Bug java/21016] Indirect dispatch code generated when using -findirect-dispatch has wrong line numbers

2005-04-13 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-04-14 01:02 --- Created an attachment (id=8623) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8623action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21016

[Bug java/21016] Indirect dispatch code generated when using -findirect-dispatch has wrong line numbers

2005-04-13 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-04-14 01:06 --- Created an attachment (id=8624) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8624action=view) .java source corresponding to the test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21016

[Bug c++/20805] Another debug info emitting bug

2005-04-07 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-04-07 11:06 --- gdb PR 1903 has already been filed for that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20805

[Bug c++/20805] New: Another debug info emitting bug

2005-04-06 Thread greenrd at greenrd dot org
: Another debug info emitting bug Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org

[Bug c++/20805] Another debug info emitting bug

2005-04-06 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-04-07 03:20 --- Created an attachment (id=8551) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8551action=view) gzipped testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20805

[Bug java/20735] New: gcj writes bogus source filenames for inner classes read from .class files

2005-04-02 Thread greenrd at greenrd dot org
: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: minor Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs

[Bug libgcj/18840] java.io.BufferedInputStream.read(byte[],..) methods don't attempt to read as much as possible

2004-12-06 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2004-12-07 03:27 --- Appears to be already fixed in GNU classpath: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/io/BufferedInputStream.java.diff?r1=1.11r2=1.12 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug libgcj/18840] New: java.io.BufferedInputStream.read(byte[],..) methods don't attempt to read as much as possible

2004-12-04 Thread greenrd at greenrd dot org
ReportedBy: greenrd at greenrd dot org 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=18840