Patch: fix PR 6388

Andrew Haley aph@redhat.com
Thu Oct 24 02:46:00 GMT 2002


Tom Tromey writes:
 > This patch fixes PR 6388.
 > 
 > This is a rewrite of a patch I sent before:
 > 
 >     http://gcc.gnu.org/ml/java-patches/2002-q2/msg00409.html
 > 
 > In his response to that one, rth pointed out some other problems in
 > the surrounding code.  This patch attempts to fix those as well.
 > 
 > There didn't seem to be a way to sign-extend an int constant, hence
 > the code in the patch to do this by hand.

Please have a look at WORD_TO_INT and WORDS_TO_LONG in javaop.h before
you commit this.

Andrew.



More information about the Java-patches mailing list