public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/24184] New: bytecode miscompilation of CORBA
@ 2005-10-03 23:30 tromey at gcc dot gnu dot org
2005-11-18 23:52 ` [Bug java/24184] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-10-03 23:30 UTC (permalink / raw)
To: java-prs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug java/24184] bytecode miscompilation of CORBA
2005-10-03 23:30 [Bug java/24184] New: bytecode miscompilation of CORBA tromey at gcc dot gnu dot org
@ 2005-11-18 23:52 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-18 23:52 UTC (permalink / raw)
To: java-prs
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-18 23:51 -------
PR 24938 has a little more anaylsis of the problem.
*** This bug has been marked as a duplicate of 24938 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24184
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-18 23:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-03 23:30 [Bug java/24184] New: bytecode miscompilation of CORBA tromey at gcc dot gnu dot org
2005-11-18 23:52 ` [Bug java/24184] " pinskia 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).