OSDN Git Service

Revert delta 190174
[pf3gnuchains/gcc-fork.git] / libquadmath / ChangeLog
1 2012-06-14  Release Manager
2
3         * GCC 4.7.1 released.
4
5 2012-05-31  Benjamin Kosnik  <bkoz@redhat.com>
6
7         PR libstdc++/52007
8         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
9         * configure: Regenerated.
10
11 2012-03-22  Release Manager
12
13         * GCC 4.7.0 released.
14
15 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
16
17         * configure: Regenerate.
18
19 2011-11-07  Kai Tietz  <ktietz@redhat.com>
20
21         PR target/51007
22         * quadmath-imp.h (ieee854_float128): Adjust
23         for ms-bitfield layout.
24
25 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
26
27         * printf/gmp-impl.h: Adapt path to longlong.h.
28
29 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
30
31         * Makefile.am (FLAGS_TO_PASS): Define.
32         * Makefile.in: Regenerate.
33
34 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35
36         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
37         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38
39 2011-04-03  Tobias Burnus  <burnus@net-b.de>
40
41         PR fortran/48311
42         * libquadmath.texi (strtoflt128): Fix typo.
43         (quadmath_snprintf): Move note up, make @item.
44
45 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
46
47         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
48         mempcpy.
49
50 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
51
52         PR bootstrap/48135
53         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
54         * configure: Regenerate.
55
56 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
57
58         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
59         that for size > 0 str is always zero terminated.
60
61 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
62
63         PR bootstrap/47827
64         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
65
66 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
67
68         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
69         FLT128_MAX_10_EXP): Document.
70         (strtoflt128): Remove obsolete comment.
71         * configure.ac (HAVE_STRTOULL): New check.
72         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
73         define.
74         * printf/mul_n.c: Include <config.h>.
75         * printf/add_n.c: Likewise.
76         * printf/cmp.c: Likewise.
77         * printf/fpioconst.c: Likewise.
78         * printf/mul_1.c: Likewise.
79         * printf/rshift.c: Likewise.
80         * printf/lshift.c: Likewise.
81         * printf/submul_1.c: Likewise.
82         * printf/sub_n.c: Likewise.
83         * printf/divrem.c: Likewise.
84         * printf/addmul_1.c: Likewise.
85         * printf/mul.c: Likewise.
86         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
87         to avoid evaluating argument multiple times.
88         (isxdigit): Redefine.
89         * strtod/strtoflt128.c: New file.
90         * strtod/strtod_l.c: New file.
91         * strtod/mpn2flt128.c: New file.
92         * strtod/grouping.h: New file.
93         * strtod/tens_in_limb.c: New file.
94         * gdtoa/arith.h: Removed.
95         * gdtoa/gd_qnan.h: Removed.
96         * gdtoa/gdtoa_fltrnds.h: Removed.
97         * gdtoa/gdtoa.h: Removed.
98         * gdtoa/gdtoaimp.h: Removed.
99         * gdtoa/gethex.c: Removed.
100         * gdtoa/gmisc.c: Removed.
101         * gdtoa/hd_init.c: Removed.
102         * gdtoa/hexnan.c: Removed.
103         * gdtoa/makefile: Removed.
104         * gdtoa/misc.c: Removed.
105         * gdtoa/README.gdtoa: Removed.
106         * gdtoa/smisc.c: Removed.
107         * gdtoa/strtodg.c: Removed.
108         * gdtoa/strtopQ.c: Removed.
109         * gdtoa/sum.c: Removed.
110         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
111         Define.
112         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
113         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
114         * config.h.in: Regenerated.
115         * configure: Regenerated.
116         * Makefile.in: Regenerated.
117
118 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
119
120         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
121         whether workarounds for printf hook handling should be added.
122
123         * configure.ac: Check for locale.h too.
124         (USE_LOCALE_SUPPORT): Remove check.
125         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
126         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
127         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
128         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
129         for wide version.
130         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
131         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
132         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
133         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
134         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
135         USE_I18N_NUMBER_H #ifdef.
136         * configure: Regenerated.
137         * config.h.in: Regenerated.
138
139 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
140
141         PR bootstrap/47736
142         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
143         user field.
144         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
145         field instead of setting individual fields to 0.  Don't set info.user
146         to -1.
147         * configure: Regenerated.
148
149         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
150         * printf/printf_fp.c: Don't include <alloca.h>.
151         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
152         * configure: Regenerated.
153
154         PR fortran/47642
155         * libquadmath.texi (quadmath_snprintf): Document.
156         (quadmath_flt128tostr): Remove.
157         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
158         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
159         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
160         * quadmath.h (quadmath_snprintf): New prototype.
161         (quadmath_flt128tostr): Remove.
162         * quadmath_weak.h (quadmath_snprintf): Add.
163         (quadmath_flt128tostr): Remove.
164         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
165         wctype.h, limits.h, ctype.h, printf.h, errno.h.
166         (AC_USE_SYSTEM_EXTENSIONS): Add.
167         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
168         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
169         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
170         quadmath_flt128tostr.
171         * printf/printf_fphex.c: New file.
172         * printf/_itowa.h: New file.
173         * printf/mul_n.c: New file.
174         * printf/quadmath-printf.h: New file.
175         * printf/submul_1.c: New file.
176         * printf/quadmath-printf.c: New file.
177         * printf/gmp-impl.h: New file.
178         * printf/lshift.c: New file.
179         * printf/fpioconst.h: New file.
180         * printf/add_n.c: New file.
181         * printf/cmp.c: New file.
182         * printf/sub_n.c: New file.
183         * printf/mul.c: New file.
184         * printf/divrem.c: New file.
185         * printf/addmul_1.c: New file.
186         * printf/printf_fp.c: New file.
187         * printf/_itoa.h: New file.
188         * printf/fpioconst.c: New file.
189         * printf/_i18n_number.h: New file.
190         * printf/flt1282mpn.c: New file.
191         * printf/rshift.c: New file.
192         * printf/mul_1.c: New file.
193         * quadmath_io.c: Removed.
194         * gdtoa/gdtoa.c: Removed.
195         * gdtoa/g__fmt.c: Removed.
196         * gdtoa/g_Qfmt.c: Removed.
197         * gdtoa/dmisc.c: Removed.
198         * gdtoa/ulp.c: Removed.
199         * config.h.in: Regenerated.
200         * configure: Regenerated.
201         * Makefile.in: Regenerated.
202
203 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
204
205         * Makefile.in: Regenerate.
206         * aclocal.m4: Likewise.
207         * configure: Likewise.
208
209 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
210
211         PR libquadmath/47293
212         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
213         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
214
215 2011-01-17  Tobias Burnus  <burnus@net-b.de>
216
217         PR fortran/47295
218         * libquadmath.text: Document typedef and constants.
219
220 2011-01-17  Tobias Burnus  <burnus@net-b.de>
221
222         PR fortran/46817
223         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
224         bump copyright year and use /**/ instead of // comments.
225         * quadmath.h: Ditto.
226         * quadmath-weak.h: Ditto.
227         * quadmath_io.c: Ditto.
228
229 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
230
231         PR libfortran/47322
232         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
233
234         PR fortran/46625
235         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
236         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
237         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
238         (strtoflt128, quadmath_flt128tostr): Add.
239         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
240         (strtoflt128): ... this.  Return __float128, instead of writing
241         to memory pointed by last argument.
242         * quadmath.h: Use C style comments instead of C++ style.
243         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
244         (strtoflt128, quadmath_flt128tostr): Add prototypes.
245         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
246         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
247         adjust examples.
248         * quadmath_io.c (quadmath_dtoaq): Rename to...
249         (quadmath_flt128tostr): ... this.
250
251         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
252         Use it for all prototypes.
253
254         PR fortran/46416
255         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
256         const from prototype argument.
257         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
258         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
259         (__quadmath_extern_inline): Define.
260         (cimagq, conjq, crealq): New inlines.
261         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
262         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
263         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
264         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
265         * Makefile.in: Regenerated.
266         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
267         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
268         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
269         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
270         tests instead of __BIG_ENDIAN__.
271         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
272         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
273         and remquoq.
274         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
275         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
276         * math/cprojq.c: New file.
277         * math/ilogbq.c: New file.
278         * math/fminq.c: New file.
279         * math/llrintq.c: New file.
280         * math/log2q.c: New file.
281         * math/lrintq.c: New file.
282         * math/crealq.c: New file.
283         * math/nearbyintq.c: New file.
284         * math/fmaxq.c: New file.
285         * math/conjq.c: New file.
286         * math/remquoq.c: New file.
287         * math/cimagq.c: New file.
288         * math/fdimq.c: New file.
289
290         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
291
292         PR fortran/46416
293         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
294         New prototypes.
295         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
296         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
297         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
298         catanhq): Add.
299         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
300         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
301         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
302         catanq and catanhq.
303         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
304         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
305         and math/catanhq.c.
306         * Makefile.in: Regenerated.
307         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
308         catanq, catanhq): Add.
309         * math/cacoshq.c: New file.
310         * math/cacosq.c: New file.
311         * math/catanq.c: New file.
312         * math/catanhq.c: New file.
313         * math/casinq.c: New file.
314         * math/casinhq.c: New file.
315
316         * math/hypotq.c (hypotq): Use Q suffix instead of L.
317         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
318         * math/cosq.c (cosq): Likewise.
319
320         PR fortran/46402
321         * quadmath.map (QUADMATH_1.0): Add fmaq.
322         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
323         feupdateenv, fesetenv and fetestexcept.
324         * configure: Regenerated.
325         * config.h.in: Regenerated.
326         * quadmath.h (fmaq): New prototype.
327         * quadmath_weak.h (fmaq): Add.
328         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
329         * Makefile.in: Regenerated.
330         * quadmath-imp.h: Include config.h.
331         * math/expq.c: Include fenv.h.
332         (USE_FENV_H): Define if libm support for fe* is there.
333         (expq): Add fesetround etc. support if USE_FENV_H is defined.
334         * math/fmaq.c: New file.
335         * libquadmath.texi (fmaq): Add.
336
337 2011-01-14  Tobias Burnus  <burnus@net-b.de>
338
339         PR fortran/47182
340         * configure.ac: Use ACX_BUGURL.
341         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
342         * Makefile.am: Create libquadmath-vers.texi.
343         * configure.in: Regenerate.
344         * Makefile.in: Regenerate.
345
346 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
347
348         PR fortran/47174
349         * Makefile.am (libquadmath.info): Unconditionally override
350         target, not only if BUILD_LIBQUADMATH.
351         * Makefile.in: Regenerate.
352         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
353         avoid warning from automake.
354
355 2010-12-19  Tobias Burnus  <burnus@net-b.de>
356
357         PR fortran/46520
358         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
359         * configure: Regenerate
360
361 2010-12-13  Tobias Burnus  <burnus@net-b.de>
362
363         PR fortran/46625
364         * gdtoa/gdtoaimp.h: Mangle internal functions by
365         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
366         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
367         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
368         if NO_STRING_H is set.
369         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
370         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
371         __quadmath prefix to internal functions.
372         * math/cosq.c (cosq): Ditto.
373         * math/sinq.c (cosq): Ditto.
374         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
375         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
376         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
377         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
378
379 2010-12-08  Tobias Burnus  <burnus@net-b.de>
380
381         PR fortran/46772
382         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
383         * gdtoa/gdtoaimp.h: Don't declare strtod.
384
385 2010-12-08  Tobias Burnus  <burnus@net-b.de>
386
387         PR fortran/46520
388         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
389         AC_TRY_LINK and cache libquad_have_float128.
390         * configure: Regenerate.
391
392 2010-12-08  Tobias Burnus  <burnus@net-b.de>
393
394         PR fortran/46543
395         * configure.ac: Add texinfo checks.
396         * Makefile.am: Handle .texi documentation.
397         * libquadmath.texi: New.
398         * configure: Regenerated.
399         * Makefile.in: Regenerated.
400
401 2010-12-06  Tobias Burnus  <burnus@net-b.de>
402
403         PR fortran/46817
404         * quadmath-imp.h: Add LGPL header.
405         * quadmath.h: Add LGPL header.
406         * quadmath_io.c: Add LGPL header.
407         * quadmath_weak.h: Add LGPL header.
408
409 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
410
411         PR target/40125
412         PR lto/46695
413         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
414         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
415         * aclocal.m4: Regenerate.
416         * configure: Regenerate.
417         * Makefile.in: Regenerate.
418
419 2010-11-30  Tobias Burnus  <burnus@net-b.de>
420
421         PR fortran/46594
422         * Makefile.am: Install include files in
423         target/version specific directory.
424         * Makefile.in: Regenerate.
425
426 2010-11-30  Tobias Burnus  <burnus@net-b.de>
427
428         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
429         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
430         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
431
432 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
433
434         * configure: Regenerated.
435         * Makefile.in: Regenerated.
436         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
437         (target_alias): Use AC_SUBST for it.
438         (GCC_NO_EXECUTABLES): Call it.
439         (AC_PROG_CC): Improve multilib handling.
440         Check that gcc is used for compilation.
441         Use pattern from libssp for symbol versioning checking.
442         * Makefile.am (LTLDFLAGS): Removed.
443         (libquadmath_la_LDFLAGS): Add -no-undefined.
444         (libquadmath_la_LINK): Commented out.
445         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
446         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
447         (MAKEOVERRIDES): New.
448         * aclocal.m4: Regenerated.
449
450 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
451
452         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
453         (libquadmath_la_LDFLAGS): ... here.
454         (quadmath.map-sun): Tabify.
455         Fix sed expression.
456         * Makefile.in: Regenerate.
457
458 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
459             Tobias Burnus  <burnus@net-b.de>
460
461         PR fortran/32049
462         Initial implementation and checkin.