public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes
@ 2003-06-26 19:34 tv at pobox dot com
2003-06-26 19:36 ` [Bug java/11336] " tv at pobox dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: tv at pobox dot com @ 2003-06-26 19:34 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=11336
Summary: ICE: bytecode-to-native compiler cannot find interface
methods on abstract implementing classes
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tv at pobox dot com
CC: gcc-bugs at gcc dot gnu dot org
===== I.java =====
public interface I { void foo(); }
===== A.java =====
public abstract class A implements I {}
===== C.java =====
class C { void foo(A a) { a.foo(); } }
===== commands =====
$ gcj -C *.java
$ gcj -c C.java && echo "it worked"
it worked
$ gcj -c C.class
C.java: In class `C':
C.java: In method `C.foo(A)':
C.java:1: error: class 'A' has no method named 'foo' matching signature '()V'
C.java: In constructor `()':
C.java:0: internal compiler error: tree check: accessed elt 0 of tree_vec with 2
elts in find_local_variable, at java/decl.c:200
===== comments =====
Happens on gcj 3.3, with the difference of the C.java:0: error line:
C.java:0: confused by earlier errors, bailing out
This prevents compilation of the binary Cryptix JCE and Sun JSSE .jar files
because they can't find java.security.cert.X509Certificate.
getCriticalExtensionOIDs() (which is actually defined in java.security.cert.
X509Extension, implemented by X509Certificate).
Note that compiling from Java source does work (gcj -c C.java, above), but JSSE
is not available in source form.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug java/11336] ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
@ 2003-06-26 19:36 ` tv at pobox dot com
2003-06-26 20:06 ` pinskia at physics dot uc dot edu
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: tv at pobox dot com @ 2003-06-26 19:36 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=11336
------- Additional Comments From tv at pobox dot com 2003-06-26 19:36 -------
Er, forgot to mention that the actual commands posted in the example run of this
testcase were against gcc cvs HEAD as of 2003/06/25.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug java/11336] ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
2003-06-26 19:36 ` [Bug java/11336] " tv at pobox dot com
@ 2003-06-26 20:06 ` pinskia at physics dot uc dot edu
2003-07-29 22:06 ` pinskia at physics dot uc dot edu
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-26 20:06 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=11336
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code, rejects-
| |valid
Last reconfirmed|0000-00-00 00:00:00 |2003-06-26 20:06:00
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-26 20:05 -------
I can confirm this on 3.0.4, 3.2.3, 3.3.1 (20030616) and the mainline (20030626).
If I use Sun's 1.4.1 to compile C.java into bytecode gcc does not ICE on the compile from
the bytecode to native code but it does reject it though.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug java/11336] ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
2003-06-26 19:36 ` [Bug java/11336] " tv at pobox dot com
2003-06-26 20:06 ` pinskia at physics dot uc dot edu
@ 2003-07-29 22:06 ` pinskia at physics dot uc dot edu
2003-08-06 21:14 ` ingo at ingostruck dot de
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 22:06 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=11336
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug java/11336] ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
` (2 preceding siblings ...)
2003-07-29 22:06 ` pinskia at physics dot uc dot edu
@ 2003-08-06 21:14 ` ingo at ingostruck dot de
2003-08-19 3:34 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ingo at ingostruck dot de @ 2003-08-06 21:14 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=11336
------- Additional Comments From ingo at ingostruck dot de 2003-08-06 21:14 -------
I can confirm this bug on 3.3 and it is a *real* nuisance...
:o(
I would vote for P1 / critical.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug java/11336] ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
` (3 preceding siblings ...)
2003-08-06 21:14 ` ingo at ingostruck dot de
@ 2003-08-19 3:34 ` pinskia at gcc dot gnu dot org
2003-08-19 14:52 ` tromey at gcc dot gnu dot org
2003-08-20 21:39 ` tv at pobox dot com
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-19 3:34 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=11336
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-19 03:34 -------
Related to bug 5641 and bug 7290.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug java/11336] ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
` (4 preceding siblings ...)
2003-08-19 3:34 ` pinskia at gcc dot gnu dot org
@ 2003-08-19 14:52 ` tromey at gcc dot gnu dot org
2003-08-20 21:39 ` tv at pobox dot com
6 siblings, 0 replies; 8+ messages in thread
From: tromey at gcc dot gnu dot org @ 2003-08-19 14:52 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=11336
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4
------- Additional Comments From tromey at gcc dot gnu dot org 2003-08-19 14:52 -------
This was fixed by the Miranda method patch that went
in on 2003-08-11.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug java/11336] ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
` (5 preceding siblings ...)
2003-08-19 14:52 ` tromey at gcc dot gnu dot org
@ 2003-08-20 21:39 ` tv at pobox dot com
6 siblings, 0 replies; 8+ messages in thread
From: tv at pobox dot com @ 2003-08-20 21:39 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=11336
tv at pobox dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From tv at pobox dot com 2003-08-20 21:39 -------
Verified fixed by submitter (me).
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-08-20 21:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-26 19:34 [Bug java/11336] New: ICE: bytecode-to-native compiler cannot find interface methods on abstract implementing classes tv at pobox dot com
2003-06-26 19:36 ` [Bug java/11336] " tv at pobox dot com
2003-06-26 20:06 ` pinskia at physics dot uc dot edu
2003-07-29 22:06 ` pinskia at physics dot uc dot edu
2003-08-06 21:14 ` ingo at ingostruck dot de
2003-08-19 3:34 ` pinskia at gcc dot gnu dot org
2003-08-19 14:52 ` tromey at gcc dot gnu dot org
2003-08-20 21:39 ` tv at pobox dot com
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).