This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/23182] instanceof sometimes fails if compiled with -findirect-dispatch


------- Additional Comments From tromey at gcc dot gnu dot org  2005-09-05 16:15 -------
One reason I suspect a compiler bug and not a bug in 'instanceof'
is that the code works in the interpreter but not when BC-compiled.

Tom F... I think the arguments are reversed to the call in your
assertion example.  The first class argument is the target class,
which must be the base class.  The second class argument is the source
class.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23182


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]