OSDN Git Service

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