This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: fix PR 6388
- From: Andrew Haley <aph at redhat dot com>
- To: tromey at redhat dot com
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>,Java Patch List <java-patches at gcc dot gnu dot org>,Richard Henderson <rth at redhat dot com>
- Date: Thu, 24 Oct 2002 10:47:52 +0100 (BST)
- Subject: Patch: fix PR 6388
- References: <871y6glqmn.fsf@fleche.redhat.com>
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.