SOURCES: dietlibc-gcc4.patch - patch updated. initializing `cons...

pluto pluto at pld-linux.org
Fri Feb 24 22:18:46 CET 2006


Author: pluto                        Date: Fri Feb 24 21:18:46 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- patch updated.
  initializing `const double` vector with `const long double` coeffs is quirky.
  this funny initialization was exposed by gcc bug @ ppc :>

---- Files affected:
SOURCES:
   dietlibc-gcc4.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/dietlibc-gcc4.patch
diff -u SOURCES/dietlibc-gcc4.patch:1.2 SOURCES/dietlibc-gcc4.patch:1.3
--- SOURCES/dietlibc-gcc4.patch:1.2	Sun May 22 22:09:37 2005
+++ SOURCES/dietlibc-gcc4.patch	Fri Feb 24 22:18:40 2006
@@ -18,3 +18,38 @@
  #endif
  
  /* now reuse some unchanged sources */
+--- dietlibc-0.29/libm/gamma.c.orig	2005-03-15 08:51:23.000000000 +0000
++++ dietlibc-0.29/libm/gamma.c	2006-02-24 21:09:59.000000000 +0000
+@@ -33,19 +33,19 @@
+ #include <stdlib.h>
+ #include <math.h>
+ 
+-#define B0      +            1.0l/   6/ 1/ 2
+-#define B1      -            1.0l/  30/ 3/ 4
+-#define B2      +            1.0l/  42/ 5/ 6
+-#define B3      -            1.0l/  30/ 7/ 8
+-#define B4      +            5.0l/  66/ 9/10
+-#define B5      -          691.0l/2730/11/12
+-#define B6      +            7.0l/   6/13/14
+-#define B7      -         3617.0l/ 510/15/16
+-#define B8      +        43867.0l/ 798/17/18
+-#define B9      -       174611.0l/ 330/19/20
+-#define B10     +       854513.0l/ 138/21/22
+-#define B11     -    236364091.0l/2730/23/24
+-#define B12     +      8553103.0l/   6/25/26
++#define B0      +            1.0/   6/ 1/ 2
++#define B1      -            1.0/  30/ 3/ 4
++#define B2      +            1.0/  42/ 5/ 6
++#define B3      -            1.0/  30/ 7/ 8
++#define B4      +            5.0/  66/ 9/10
++#define B5      -          691.0/2730/11/12
++#define B6      +            7.0/   6/13/14
++#define B7      -         3617.0/ 510/15/16
++#define B8      +        43867.0/ 798/17/18
++#define B9      -       174611.0/ 330/19/20
++#define B10     +       854513.0/ 138/21/22
++#define B11     -    236364091.0/2730/23/24
++#define B12     +      8553103.0/   6/25/26
+ 
+ static const double  coeff[] = { B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10 };
+ int                  signgam;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/dietlibc-gcc4.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list