This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: upgrade libdecnumber
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 29 Mar 2009 22:04:16 +0200
- Subject: Re: PATCH: upgrade libdecnumber
- References: <1238286738.7573.3.camel@helios>
Hi Ben,
Ben Elliston wrote:
I will shrotly check in a patch to upgrade libdecnumber to version 3.61.
There a very few API changes -- mostly internal bug fixes and changes
that eliminate a large number of warnings.
Tested with a bootstrap and regression test run on powerpc64-linux and a
build on x86_64-linux. HJ, I am reasonably sure that this has not
caused the BID work any problems, but please check more closely if
you're not convinced. :-)
Was this needed?
decNumberLocal.h
@@ -326,7 +342,6 @@
#define DFISSNAN(df) ((DFWORD(df, 0)&0x7e000000)==0x7e000000)
/* Shared lookup tables */
-#include "decCommonSymbols.h"
extern const uInt DECCOMBMSD[64]; /* Combination field -> MSD */
extern const uInt DECCOMBFROM[48]; /* exp+msd -> Combination */
This gives on my 32-bit ppc-linux box undefined's for __decCOMBFROM and
__decCOMBMSD while building libgcc.
Config bits are: --enable-languages=c,c++,objc,obj-c++,java,fortran
--enable-java-awt=gtk --with-long-double-128 --disable-multilib
--disable-checking
I currently test the one below, I already passed the failing stage. But
I do not know if I miss some basic issues.
The svn r is 145258.
Regards,
Andreas
Index: decNumberLocal.h
===================================================================
--- decNumberLocal.h (revision 145258)
+++ decNumberLocal.h (working copy)
@@ -104,6 +104,7 @@
#endif
/* Shared lookup tables */
+#include "decCommonSymbols.h"
extern const uByte DECSTICKYTAB[10]; /* re-round digits if sticky */
extern const uInt DECPOWERS[10]; /* powers of ten table */
/* The following are included from decDPD.h */