public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug java/11470] New: bytecode created with gcj -C doesn't cache lookup from synthetic class$ member @ 2003-07-09 5:26 jsturm at gcc dot gnu dot org 2003-07-09 13:05 ` [Bug java/11470] " pinskia at physics dot uc dot edu ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: jsturm at gcc dot gnu dot org @ 2003-07-09 5:26 UTC (permalink / raw) To: gcc-bugs PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11470 Summary: bytecode created with gcj -C doesn't cache lookup from synthetic class$ member Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jsturm at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: all GCC host triplet: all GCC target triplet: all Given the following source file: class A { Class a() { return A.class; } } gcj generates the following bytecode: 0: ldc #31=<String "A"> 2: invokestatic #33=<Method A.class$ (java.lang.String)java.lang.Class> 5: areturn whereas other java compilers (e.g. jikes) generate similar to: 0: getstatic #13=<Field A.class$A java.lang.Class> 3: dup 4: ifnonnull 18 7: pop 8: ldc #14=<String "[LA;"> 10: iconst_0 11: invokestatic #19=<Method A.class$ (java.lang.String,boolean)java.lang.Class 14: dup 15: putstatic #13=<Field A.class$A java.lang.Class> 18: areturn Note the A.class$A synthetic field which is absent from gcj output. The lossage is particularly noticable in libjava.lang/SyncTest.java. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/11470] bytecode created with gcj -C doesn't cache lookup from synthetic class$ member 2003-07-09 5:26 [Bug java/11470] New: bytecode created with gcj -C doesn't cache lookup from synthetic class$ member jsturm at gcc dot gnu dot org @ 2003-07-09 13:05 ` pinskia at physics dot uc dot edu 2003-08-23 0:18 ` dhazeghi at yahoo dot com 2003-11-11 17:34 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: pinskia at physics dot uc dot edu @ 2003-07-09 13:05 UTC (permalink / raw) To: gcc-bugs PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11470 pinskia at physics dot uc dot edu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2003-07-09 13:05:16 date| | ------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-09 13:05 ------- I can confirm this on the mainline (200307008). Yes this would be a great benifit and speed. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/11470] bytecode created with gcj -C doesn't cache lookup from synthetic class$ member 2003-07-09 5:26 [Bug java/11470] New: bytecode created with gcj -C doesn't cache lookup from synthetic class$ member jsturm at gcc dot gnu dot org 2003-07-09 13:05 ` [Bug java/11470] " pinskia at physics dot uc dot edu @ 2003-08-23 0:18 ` dhazeghi at yahoo dot com 2003-11-11 17:34 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: dhazeghi at yahoo dot com @ 2003-08-23 0:18 UTC (permalink / raw) To: gcc-bugs PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11470 dhazeghi at yahoo dot com changed: What |Removed |Added ---------------------------------------------------------------------------- GCC build triplet|all | GCC host triplet|all | GCC target triplet|all | Target Milestone|3.4 |--- ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/11470] bytecode created with gcj -C doesn't cache lookup from synthetic class$ member 2003-07-09 5:26 [Bug java/11470] New: bytecode created with gcj -C doesn't cache lookup from synthetic class$ member jsturm at gcc dot gnu dot org 2003-07-09 13:05 ` [Bug java/11470] " pinskia at physics dot uc dot edu 2003-08-23 0:18 ` dhazeghi at yahoo dot com @ 2003-11-11 17:34 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2003-11-11 17:34 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-11 17:33 ------- This is an enhancement. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Priority|P2 |P3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11470 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-11470-1165@http.gcc.gnu.org/bugzilla/>]
* [Bug java/11470] bytecode created with gcj -C doesn't cache lookup from synthetic class$ member [not found] <bug-11470-1165@http.gcc.gnu.org/bugzilla/> @ 2007-01-09 20:47 ` tromey at gcc dot gnu dot org 0 siblings, 0 replies; 5+ messages in thread From: tromey at gcc dot gnu dot org @ 2007-01-09 20:47 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from tromey at gcc dot gnu dot org 2007-01-09 20:45 ------- All gcj front end bugs have been fixed by the gcj-eclipse branch merge. I'm mass-closing the affected PRs. If you believe one of these was closed in error, please reopen it with a note explaining why. Thanks. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11470 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-09 20:47 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-07-09 5:26 [Bug java/11470] New: bytecode created with gcj -C doesn't cache lookup from synthetic class$ member jsturm at gcc dot gnu dot org 2003-07-09 13:05 ` [Bug java/11470] " pinskia at physics dot uc dot edu 2003-08-23 0:18 ` dhazeghi at yahoo dot com 2003-11-11 17:34 ` pinskia at gcc dot gnu dot org [not found] <bug-11470-1165@http.gcc.gnu.org/bugzilla/> 2007-01-09 20:47 ` 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).