This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] [4.0] string-to-double conversion can throw NullPointerException
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: tromey at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Sat, 21 Jan 2006 13:29:07 +0100
- Subject: Re: [patch] [4.0] string-to-double conversion can throw NullPointerException
- References: <17360.9814.606259.835076@gargle.gargle.HOWL> <20060120075113.GU16724@asterix.konqueror.de> <17360.54633.699311.583437@gargle.gargle.HOWL> <m3bqy6brfy.fsf@localhost.localdomain>
Tom Tromey writes:
> >>>>> "Matthias" == Matthias Klose <doko@cs.tu-berlin.de> writes:
>
> Matthias> Ok to backport the fix for PR classpath/23863 to the 4.0 branch,
> Matthias> causing a build failure of kaffe on amd64?
>
> Yes, thanks.
checked in, as well as a followup patch to fix a typo.
Index: java/lang/mprec.h
===================================================================
--- java/lang/mprec.h (revision 110064)
+++ java/lang/mprec.h (working copy)
@@ -294,7 +294,7 @@
#define MAX_BIGNUMS 16
#ifdef Pack_32
#define MAX_BIGNUM_WDS 32
-else
+#else
/* Note that this is a workaround for */
#define MAX_BIGNUM_WDS 128
#endif