This is the mail archive of the java@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]

Re: Mauve harness failure on s390


Hello Raij,

> the above is perfectly legal java :-)  unreachable bytecode is usually
> bytecode that follows a return --hence unreachable.
> 
> the SimpleTestHarness from CVS compiles with no warnings or errors with
> both jikes 1.18 and gcj 3.4 20030126 (experimental) on my athlon.
> 
> have you tried a different compiler and got the same errors? what
> compiler are you using?

I see this with both gcj 3.3 20030130 and gcj 3.4 200301030 on
s390-ibm-linux and s390x-ibm-linux.

What I'm wondering is why this is apparently platform-dependent;
I'd have thought the compilation to bytecode would be independent
of the platform, and likewise the question whether any given
bytecode sequence contains unreachable code or not ...

Any suggestions how to debug such problems?  Is there something
like a bytecode disassembler / verifier / analyser tool?

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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