This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/24184] New: bytecode miscompilation of CORBA
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 3 Oct 2005 23:30:30 -0000
- Subject: [Bug java/24184] New: bytecode miscompilation of CORBA
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compilation of gnu/CORBA/DynAny/gnuDynValue to bytecode
has a bug. The resulting equal() method has this in it:
61: invokespecial #193=<InterfaceMethod org.omg.DynamicAny.DynAny.equal
(org.omg.DynamicAny.DynAny)boolean>
However, DynAny is an interface. The corresponding source code
is a call like "super.equal(other)".
I believe the bug occurs when calling super.m() where m() is also
declared in an implemented interface. (In this case, super.m() is
also not declared in the immediate superclass, but is inherited,
that may play a role.)
It should be simple to make a small test case, I will do that some
other time.
This bug prevents us from building corba in libgcj.
--
Summary: bytecode miscompilation of CORBA
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24184