OSDN Git Service

* c-pragma.c (pending_weak_d, pending_weak): New.
[pf3gnuchains/gcc-fork.git] / libdecnumber / ChangeLog
1 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2
3         * aclocal.m4: Regenerate.
4
5 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6
7         * configure: Regenerate.
8
9 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
10
11         * decContext.c (decContextTestEndian): Move adj definition into
12         #if DECCHECK guarded code.
13
14 2009-09-09  Paolo Bonzini  <bonzini@gnu.org>
15
16         * configure: Regenerate.
17
18 2009-09-08  Paolo Bonzini  <bonzini@gnu.org>
19
20         * configure: Regenerate.
21
22 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
23
24         * configure.ac (AC_PREREQ): Bump to 2.64.
25
26 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
27
28         * aclocal.m4: Regenerate.
29         * configure: Regenerate.
30         * config.in: Regenerate.
31
32 2009-08-13  Janis Johnson  <janis187@us.ibm.com>
33
34         PR c/41046
35         * decContext.c (decContextTestEndian): Call printf only if DECCHECK.
36         * decCommon.c ( decFloatShow): Define function only for DECCHECK
37         or DECTRACE.
38
39 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
40
41         * Makefile.in (aclocal_deps): New variable.
42         ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
43
44 2009-05-31  Ian Lance Taylor  <iant@google.com>
45
46         * decContext.h: Add extern "C" if compiling with C++.
47         * decDPD.h: Likewise.
48         * decNumber.h: Likewise.
49         * dpd/decimal32.h: Likewise.
50         * dpd/decimal64.h: Likewise.
51         * dpd/decimal128.h: Likewise.
52
53 2009-04-09  Nick Clifton  <nickc@redhat.com>
54
55         * decRound.c: Change copyright header to refer to version 3 of
56         the GNU General Public License with version 3.1 of the GCC
57         Runtime Library Exception and to point readers at the COPYING3
58         and COPYING3.RUNTIME files and the FSF's license web page.
59         * bid/bid-dpd.h: Likewise.
60         * bid/bid2dpd_dpd2bid.c: Likewise.
61         * bid/bid2dpd_dpd2bid.h: Likewise.
62         * bid/decimal128.c: Likewise.
63         * bid/decimal32.c: Likewise.
64         * bid/decimal64.c: Likewise.
65         * bid/host-ieee128.c: Likewise.
66         * bid/host-ieee32.c: Likewise.
67         * bid/host-ieee64.c: Likewise.
68         * dconfig.h: Likewise.
69         * decBasic.c: Likewise.
70         * decCommon.c: Likewise.
71         * decContext.c: Likewise.
72         * decContext.h: Likewise.
73         * decDPD.h: Likewise.
74         * decDouble.c: Likewise.
75         * decDouble.h: Likewise.
76         * decExcept.c: Likewise.
77         * decExcept.h: Likewise.
78         * decLibrary.c: Likewise.
79         * decNumber.c: Likewise.
80         * decNumber.h: Likewise.
81         * decNumberLocal.h: Likewise.
82         * decPacked.c: Likewise.
83         * decPacked.h: Likewise.
84         * decQuad.c: Likewise.
85         * decQuad.h: Likewise.
86         * decRound.h: Likewise.
87         * decSingle.c: Likewise.
88         * decSingle.h: Likewise.
89         * dpd/decimal128.c: Likewise.
90         * dpd/decimal128.h: Likewise.
91         * dpd/decimal128Local.h: Likewise.
92         * dpd/decimal32.c: Likewise.
93         * dpd/decimal32.h: Likewise.
94         * dpd/decimal64.c: Likewise.
95         * dpd/decimal64.h: Likewise.
96
97 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
98
99         * Makefile.in: Change copyright header to refer to version
100         3 of the GNU General Public License and to point readers at the
101         COPYING3 file and the FSF's license web page.
102         * configure.ac: Likewise.
103
104 2009-04-01  Ben Elliston  <bje@au.ibm.com>
105
106         * decContext.h: Include gstdint.h instead of <stdint.h>.
107
108 2009-03-30  Ben Elliston  <bje@au.ibm.com>
109
110         * decNumber.c, decNumber.h, decNumberLocal.h, decDouble.c,
111         decDouble.h, decSingle.c, decContext.c, decSingle.h, decPacked.c,
112         decCommon.c, decContext.h, decQuad.c, decPacked.h, decQuad.h,
113         decDPD.h, decBasic.c: Upgrade to decNumber 3.61.
114         * dpd/decimal128.h, dpd/decimal32.c, dpd/decimal32.h,
115         dpd/decimal64.c, dpd/decimal128.c, dpd/decimal64.h: Likewise.
116
117 2009-02-10  Joseph Myers  <joseph@codesourcery.com>
118
119         * Makefile.in (clean): Don't remove makedepend$(EXEEXT).
120
121 2008-10-27  Janis Johnson  <janis187@us.ibm.com>
122
123         PR other/37897
124         * decDouble.h (decDouble): Replace struct with union accessible
125         by more types.
126         * decSingle.h (decSingle): Ditto.
127         * decQuad.h (decQuad): Ditto.
128         * decNumberLocal.h (DFWORD, DFBYTE, DFWWORD): access decFloat via
129         new members.
130         * decBasic.c (decFloatCompareTotal): Avoid type-pun violation.
131         (decNumberCompare): Ditto.
132
133 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
134
135         * Makefile.in ($(srcdir)/aclocal.m4): Update dependencies.
136         * configure: Regenerate.
137
138 2008-06-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
139
140         * Makefile.in (datarootdir): New variable.
141
142 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
143
144         * dconfig.h: New.
145         * decContext.c, decExcept.c, decExcept.h, decLibrary.c,
146         decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
147         dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
148         * dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
149         decimal128FlipSign): Use WORDS_BIGENDIAN not
150         FLOAT_WORDS_BIG_ENDIAN.
151         * bid/host-ieee128.c: Include dconfig.h.
152         (__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
153         value if WORDS_BIGENDIAN.
154
155 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
156
157         PR bootstrap/35457
158         * aclocal.m4: Regenerate.
159         * configure: Regenerate.
160
161 2008-04-18  Ben Elliston  <bje@au.ibm.com>
162
163         * Makefile.in (distclean): Add gstdint.h.
164
165 2008-01-25  Janis Johnson  <janis187@us.ibm.com>
166
167         * decCommonSymbols.h: Commit.
168         * decDPDSybmols.h: Commit.
169
170         * Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
171         * decCommonSymbols.h: New file.
172         * decCommon.c: Include it.
173         * decDPDSymbols.h: New file.
174         * decDPD.h: Include it.
175         * decNumberLocal.h: Include the two new files.
176         * decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New.
177         * decNumberSymbols.h (LNnn, d2utable): New.
178         * dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
179         * dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
180         * dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
181         * dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD.
182         * dpd/decimal64.c: Ditto.
183         * dpd/decimal128.c: Ditto.
184
185 2007-11-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
186
187         * Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
188         and substitute $< for the source file in compilation command.
189         (decimal64.o): Likewise.
190         (decimal128.o): Likewise.
191         (bid2dpd_dpd2bid.o): Likewise.
192         (host-ieee32.o): Likewise.
193         (host-ieee64.o): Likewise.
194         (host-ieee128.o): Likewise.
195
196 2007-10-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
197
198         * configure.ac: Add ADDITIONAL_OBJS variable.
199         * Makefile.in (bid_OBS): New.
200         (libdecnumber_a_OBJS): Add ADDITIONAL_OBJS, remove condition
201         on enable_decimal_float.
202         * configure: Regenerate.
203
204 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
205             Ben Elliston  <bje@au.ibm.com>
206
207         * Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
208         (dependencies): Add Symbols headers.
209         * decContext.c: Upgrade to decNumber 3.53.
210         * decContext.h: Ditto.
211         * decDPD.h: Ditto.
212         * decNumber.c: Ditto.
213         * decNumber.h: Ditto.
214         * decNumberLocal.h: Ditto.
215         * decBasic.c: New file from decNumber 3.53.
216         * decCommon.c: Ditto.
217         * decDouble.c: Ditto.
218         * decDouble.h: Ditto.
219         * decQuad.c: Ditto.
220         * decQuad.h: Ditto.
221         * decSingle.c: Ditto.
222         * decSingle.h: Ditto.
223         * decPacked.c: Ditto.
224         * decPacked.h: Ditto.
225         * dpd/decimal128.c: Upgrade to decNumber 3.53.
226         * dpd/decimal128.h: Ditto.
227         * dpd/decimal32.c: Ditto.
228         * dpd/decimal32.h: Ditto.
229         * dpd/decimal64.c: Ditto.
230         * dpd/decimal64.h: Ditto.
231         * decLibrary.c (__dec_byte_swap): Remove.
232         * decContextSymbols.h: New file.
233         * decDoubleSymbols.h: New file.
234         * decNumberSymbols.h: New file.
235         * decPackedSymbols.h: New file.
236         * decQuadSymbols.h: New file.
237         * decSingleSymbols.h: New file.
238         * decUtility.c: Delete file.
239         * decUtility.h: Delete file.
240         * bid/decimal128Symbols.h: New file.
241         * bid/decimal128Local.h: New file.
242         * bid/decimal32Symbols.h: New file.
243         * bid/decimal64Symbols.h: New file.
244         * bid/host-ieee128.c (__swap128): Remove.
245         (__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
246         * bid/host-ieee32.c (__dec_type_swap): Remove.
247         (__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
248         * bid/host-ieee64.c (__swap64): Remove.
249         (__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
250         * dpd/decimal32Symbols.h: New file.
251         * dpd/decimal64Symbols.h: New file.
252         * dpd/decimal128Symbols.h: New file.
253         * dpd/decimal128Local.h: New file.
254
255 2007-06-18  Martin Michlmayr  <tbm@cyrius.com>
256             H.J. Lu  <hongjiu.lu@intel.com>
257
258         * configure.ac: Add AC_CANONICAL_TARGET.
259         * configure: Regenerated.
260
261 2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>
262
263         * Makefile.in (aclocal.m4): Depend on stdint.m4 instead of
264         acx.m4.
265
266         * aclocal.m4: Regenerated by aclocal 1.9.6.
267
268 2007-04-11  Kai Tietz   <kai.tietz@onevision.com>
269
270         * configure: Regenerate.
271
272 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
273             H.J. Lu  <hongjiu.lu@intel.com>
274             Marius Cornea  <marius.cornea@intel.com>
275
276         * Makefile.in (enable_decimal_float): New.
277         (libdecnumber_a_OBJS): Add bid2dpd_dpd2bid.o, host-ieee32.o,
278         host-ieee64.o and host-ieee128.o for BID.
279         (libdecnumber_a_SOURCES): Support DPD and BID.
280         (decimal32.o): Support dependency for both DPD and BID.
281         (decimal64.o): Likewise.
282         (decimal128.o): Likewise.
283         (bid2dpd_dpd2bid.o): New target.
284         (host-ieee32.o): Likewise.
285         (host-ieee64.o): Likewise.
286         (host-ieee128.o): Likewise.
287
288         * bid/bid-dpd.h: New file.
289         * bid/decimal128.c: Likewise.
290         * bid/decimal128.h: Likewise.
291         * bid/decimal32.c: Likewise.
292         * bid/decimal32.h: Likewise.
293         * bid/decimal64.c: Likewise.
294         * bid/decimal64.h: Likewise.
295         * bid/host-ieee128.c: Likewise.
296         * bid/host-ieee32.c: Likewise.
297         * bid/host-ieee64.c: Likewise.
298         * bid/bid2dpd_dpd2bid.c: Likewise.
299         * bid/bid2dpd_dpd2bid.h: Likewise.
300
301         * decimal128.c: Moved to ...
302         * dpd/decimal128.c: This.
303         * decimal128.h:  Moved to ...
304         * dpd/decimal128.h: This.
305         * decimal32.c: Moved to ...
306         * dpd/decimal32.c: This.
307         * decimal32.h: Moved to ...
308         * dpd/decimal32.h: This.
309         * decimal64.c: Moved to ...
310         * dpd/decimal64.c: This.
311         * decimal64.h: Moved to ...
312         * dpd/decimal64.h: This.
313
314         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
315         Add AC_C_BIGENDIAN.  Substitute enable_decimal_float.
316         * config.in: Add decimal support variables.
317         * configure: Regenerate.
318
319         PR other/30530
320         * decimal128.h (decimal128ClearSign): New.
321         (decimal128FlipSign): Likewise.
322
323         * decimal32.h: (decimal32ClearSign): New.
324         (decimal32FlipSign): Likewise.
325
326         * decimal64.h (decimal64ClearSign): New.
327         (decimal64FlipSign): Likewise.
328
329 2007-03-08  Ben Elliston  <bje@au.ibm.com>
330
331         * decContext.c, decContext.h, decDPD.h, decimal128.c,
332         decimal128.h, decimal32.c, decimal32.h, decimal64.c, decimal64.h,
333         decLibrary.c, decNumber.c, decNumber.h, decNumberLocal.h,
334         decRound.c, decRound.h, decUtility.c, decUtility.h: Add
335         libgcc-style license exception clause.
336
337 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
338
339         * Makefile.in: Add dummy install-pdf target.
340
341 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
342
343         * decExcept.c: New.
344         * decExcept.h: New.
345
346 2006-11-29  Janis Johnson  <janis187@us.ibm.com>
347
348         * decRound.c: Move declarations to new file, update comments.
349         * decRound.h: New file.
350
351 2006-11-21  Janis Johnson  <janis187@us.ibm.com>
352
353         * decLibrary.c (__dec_type_swap): Add prototype.
354         (__dfp_enable_traps, dfp_raise): Delete.
355
356         * Makefile.in: Don't include decRound in library used by compiler.
357
358 2006-10-10  Brooks Moses  <bmoses@stanford.edu> 
359         * Makefile.in: Added empty "pdf" target.
360
361 2006-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
362
363         * decNumber.c (decNumberPower): Constify.
364         * decNumber.h (decNumberPower): Likewise.
365
366 2006-09-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
367
368         * configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
369         * configure, config.in: Regenerate.
370
371         * decContext.c (decContextStatusToString): Constify.
372         * decContext.h (decContextStatusToString): Likewise.
373         * decNumber.c (decNumberToString, decNumberToEngString,
374         decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
375         decNumberDivideInteger, decNumberMax, decNumberMin,
376         decNumberMinus, decNumberPlus, decNumberMultiply,
377         decNumberNormalize, decNumberQuantize, decNumberRescale,
378          decNumberRemainder, decNumberRemainderNear,
379         decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
380         decNumberToIntegralValue, decNumberCopy, decToString, decAddOp,
381         decDivideOp, decMultiplyOp, decQuantizeOp, decCompareOp,
382         decCompare, decUnitCompare, decUnitAddSub, decRoundOperand,
383         decCopyFit, decSetCoeff, decGetInt, decNaNs, decGetDigits,
384         decNumberShow, decDumpAr, decCheckOperands, decCheckNumber):
385         Likewise.
386         * decNumber.h (decNumberToString, decNumberToEngString,
387         decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
388         decNumberDivideInteger, decNumberMax, decNumberMin,
389         decNumberMinus, decNumberMultiply, decNumberNormalize,
390         decNumberPlus, decNumberQuantize, decNumberRemainder,
391          decNumberRemainderNear, decNumberRescale,
392         decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
393         decNumberToIntegralValue, decNumberCopy): Likewise.
394         * decUtility.c (decDensePackCoeff, decDenseUnpackCoeff):
395         Likewise.
396         * decUtility.h (decDensePackCoeff, decDenseUnpackCoeff):
397         Likewise.
398         * decimal128.c (decimal128FromNumber, decimal128ToNumber,
399         decimal128ToString, decimal128ToEngString, decimal128Show):
400         Likewise.
401         * decimal128.h (decimal128ToString, decimal128ToEngString,
402         decimal128FromNumber, decimal128ToNumber): Likewise.
403         * decimal32.c (decimal32FromNumber, decimal32ToNumber,
404         decimal32ToString, decimal32ToEngString, decimal32Show):
405         Likewise.
406         * decimal32.h (decimal32ToString, decimal32ToEngString,
407         decimal32FromNumber, decimal32ToNumber): Likewise.
408         * decimal64.c (decimal64FromNumber, decimal64ToNumber,
409         decimal64ToString, decimal64ToEngString, decimal64Show):
410         Likewise.
411         * decimal64.h (decimal64ToString, decimal64ToEngString,
412         decimal64FromNumber, decimal64ToNumber): Likewise.
413
414 2006-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
415
416         * decContext.c (decContextSetStatusFromString): Constify.
417         * decContext.h (decContextSetStatusFromString): Likewise.
418         * decNumber.c (decNumberFromString): Likewise.
419         * decNumber.h (decNumberFromString): Likewise.
420         * decimal128.c (decimal128FromString): Likewise.
421         * decimal128.h (decimal128FromString): Likewise.
422         * decimal32.c (decimal32FromString): Likewise.
423         * decimal32.h (decimal32FromString): Likewise.
424         * decimal64.c (decimal64FromString): Likewise.
425         * decimal64.h (decimal64FromString): Likewise.
426
427 2006-07-25  Paolo Bonzini  <bonzini@gnu.org>
428
429         PR build/26188
430         * configure: Regenerate.
431
432 2006-06-23  Ben Elliston  <bje@au.ibm.com>
433
434         * decNumber.h (decNumberNegate): Remove.
435
436 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
437
438         * Makefile.in: Add install-html target. Add install-html to .PHONY
439
440 2006-02-06  Ben Elliston  <bje@au.ibm.com>
441
442         * decLibrary.c (__dec_byte_swap): Use uint32_t for argument and
443         return types.
444
445 2006-01-03  Roger Sayle  <roger@eyesopen.com>
446             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
447
448         * decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
449         definition of strcpy from generating compilation warnings.
450
451 2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
452
453         PR target/25259
454         * configure.ac: Use GCC_HEADER_STDINT.
455         * decContext.h: Include gstdint.h.
456         * aclocal.m4: Regenerate.
457         * configure: Regenerate.
458
459 2005-12-20  Roger Sayle  <roger@eyesopen.com>
460
461         * decNumber.c (decStrEq): Cast string contents to unsigned char
462         instead of int before calling tolower.
463
464 2005-12-20  Roger Sayle  <roger@eyesopen.com>
465
466         * decNumber.c (decStrEq): Cast operands to int before calling
467         tolower to avoid compilation warnings on Tru64.
468
469 2005-12-05  Ben Elliston  <bje@au.ibm.com>
470
471         * Makefile.in (clean): Remove stray reference to libcpp.a.
472
473         * decimal128.h, decContext.c, decRound.c, decimal32.c,
474         decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
475         decimal64.h, decUtility.c, decLibrary.c, configure.ac,
476         decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
477         office address.
478
479 2005-12-01  Ben Elliston  <bje@au.ibm.com>
480
481         * Makefile.in (libdecnumber_a_SOURCES): Drop decLibrary.c.
482         * decUtility.c (__dec_byte_swap): Move from here ..
483         * decLibrary.c: .. to here.
484
485 2005-11-23  Gerald Pfeifer  <gerald@pfeifer.com>
486
487         * decContext.h: Properly guard inclusion of stdint.h
488         * decContext.c: Include config.h
489         * decLibrary.c: Ditto.
490         * decNumber.c: Ditto.
491         * decRound.c: Ditto.
492         * decUtility.c: Ditto.
493         * decimal32.c: Ditto.
494         * decimal64.c: Ditto.
495         * decimal128.c: Ditto.
496         
497 2005-11-29  Ben Elliston  <bje@au.ibm.com>
498
499         * decUtility.c: Remove redundant #includes.
500         * decUtility.h (__dec_byte_swap): Remove prototype.
501
502 2005-11-29  Ben Elliston  <bje@au.ibm.com>
503
504         * configure.ac: New file.
505         * aclocal.m4: Likewise.
506         * Makefile.in: Likewise.
507         * configure: Generate.
508         * config.in: Likewise.
509
510 2005-11-29  Ben Elliston  <bje@au.ibm.com>
511
512         * decimal32.h, decimal64.h, decimal128.h: New.
513         * decimal32.c, decimal64.c, decimal128.c: Likewise.
514         * decContext.c, decContext.h: Likewise.
515         * decUtility.c, decUtility.h: Likewise.
516         * decNumber.c, decNumber.h, decNumberLocal.h: Likewise.
517         * decDPD.h: Likewise.
518         * decLibrary.c, decRound.c: Likewise.