Update ChangeLog and version files for release
[official-gcc.git] / libquadmath / ChangeLog
blobf3b36c8bc5505db742f4b3f617e0d30f39a8f55f
1 2018-07-26  Release Manager
3         * GCC 8.2.0 released.
5 2018-05-02  Release Manager
7         * GCC 8.1.0 released.
9 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
11         * configure: Regenerated.
13 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
15         * configure: Regenerated.
17 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
19         PR jit/85384
20         * configure: Regenerate.
22 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
24         PR target/84148
25         * configure: Regenerate.
27 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
29         * libquadmath.texi: Bump @copying's copyright year.
31 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
33         * Makefile.am: Update AM_CFLAGS.
34         * Makefile.in: Regenerate:
35         * acinclude.m4: Add enable.m4 and cet.m4.
36         * configure: Regenerate.
37         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
39 2017-11-05  Tom de Vries  <tom@codesourcery.com>
41         PR other/82784
42         * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
43         "do {} while (0)".
45 2017-09-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
47         PR libquadmath/81848
48         * configure.ac (powerpc*-linux*): Use attribute mode KC to create
49         complex __float128 on PowerPC instead of attribute mode TC.
50         * quadmath.h (__complex128): Likewise.
51         * configure: Regenerate.
52         * math/cbrtq.c (CBRT2): Use __float128 not long double.
53         (CBRT4): Likewise.
54         (CBRT2I): Likewise.
55         (CBRT4I): Likewise.
56         * math/j0q.c (U0): Likewise.
57         * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
58         between __float128, instead explicitly convert the __float128
59         value to long double because the PowerPC does not allow __float128
60         and long double in the same expression.
62 2017-07-19  Gerald Pfeifer  <gerald@pfeifer.com>
64         * math/powq.c (powq): Use uint32_t instead of u_int32_t.
66 2017-07-19  Jakub Jelinek  <jakub@redhat.com>
68         PR libquadmath/65757
69         * quadmath-imp.h (math_opt_barrier, math_force_eval,
70         math_narrow_eval, math_check_force_underflow,
71         math_check_force_underflow_nonneg): Define.
72         * math/ceilq.c: Backport changes from upstream glibc
73         between 2012-11-01 and 2017-07-13.
74         * math/remquoq.c: Likewise.
75         * math/expq.c: Likewise.
76         * math/llroundq.c: Likewise.
77         * math/logq.c: Likewise.
78         * math/atanq.c: Likewise.
79         * math/nearbyintq.c: Likewise.
80         * math/scalblnq.c: Likewise.
81         * math/finiteq.c: Likewise.
82         * math/atanhq.c: Likewise.
83         * math/expm1q.c: Likewise.
84         * math/sinhq.c: Likewise.
85         * math/log10q.c: Likewise.
86         * math/rintq.c: Likewise.
87         * math/roundq.c: Likewise.
88         * math/fmaq.c: Likewise.
89         * math/erfq.c: Likewise.
90         * math/log2q.c: Likewise.
91         * math/lroundq.c: Likewise.
92         * math/j1q.c: Likewise.
93         * math/scalbnq.c: Likewise.
94         * math/truncq.c: Likewise.
95         * math/frexpq.c: Likewise.
96         * math/sincosq.c: Likewise.
97         * math/tanhq.c: Likewise.
98         * math/asinq.c: Likewise.
99         * math/coshq.c: Likewise.
100         * math/j0q.c: Likewise.
101         * math/asinhq.c: Likewise.
102         * math/floorq.c: Likewise.
103         * math/sinq_kernel.c: Likewise.
104         * math/powq.c: Likewise.
105         * math/hypotq.c: Likewise.
106         * math/sincos_table.c: Likewise.
107         * math/rem_pio2q.c: Likewise.
108         * math/nextafterq.c: Likewise.
109         * math/log1pq.c: Likewise.
110         * math/sincosq_kernel.c: Likewise.
111         * math/tanq.c: Likewise.
112         * math/acosq.c: Likewise.
113         * math/lrintq.c: Likewise.
114         * math/llrintq.c: Likewise.
116 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
118         * configure.ac (ACX_BUGURL): Update.
119         * configure: Regenerate.
121 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
123         PR other/79046
124         * configure.ac: Add GCC_BASE_VER.
125         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
126         get version from BASE-VER file.
127         * configure: Regenerated.
128         * Makefile.in: Regenerated.
130 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
132         * libquadmath.texi: Bump @copying's copyright year.
134 2016-11-15  Matthias Klose  <doko@ubuntu.com>
136         * configure: Regenerate.
138 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
140         * libquadmath.texi: Bump @copying's copyright year.
142 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
144         * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
145         * Makefile.in: Regenerate.
146         * libquadmath.texi: Document logbq.
147         * quadmath.h: Add logbq prototype.
148         * quadmath.map: Add logbq.
149         * quadmath_weak.h: Add logbq prototype.
150         * math/logbq.c: New file
152 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
154         * Makefile.in: Regenerated with automake-1.11.6.
155         * aclocal.m4: Likewise.
156         * configure: Likewise.
158 2015-01-26  Matthias Klose  <doko@ubuntu.com>
160         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
161         * configure: Regenerate.
163 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
165         * libquadmath.texi: Bump @copying's copyright year.
167 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
169         PR bootstrap/63784
170         * configure: Regenerated.
172 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
174         PR target/63610
175         * configure: Regenerate.
177 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
179         PR libquadmath/55821
180         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
181         * Makefile.in: Regenerate.
183 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
185         PR libquadmath/55821
186         * Makefile.am: Conditionally define info_TEXINFOS and
187         libquadmath_TEXINFOS.
188         * Makefile.in: Regenerate.
190 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
192         PR libquadmath/63487
193         * libquadmath.texi (sincosq): Fix typo.
195 2014-01-02  Tobias Burnus  <burnus@net-b.de>
197         * libquadmath.texi: Bump @copying's copyright year.
199 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
201         * Makefile.am (AM_CPPFLAGS): Define.
202         * Makefile.in: Regenerate.
203         * printf/gmp-impl.h: Remove path from longlong.h include.
205 2013-09-20  Alan Modra  <amodra@gmail.com>
207         * configure: Regenerate.
209 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
211         PR libquadmath/55473
212         * quadmath.h: Add 'extern "C"' block for C++ use.
214 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
216         PR libquadmath/56379
217         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
218         macro.
220 2013-02-17  Tobias Burnus  <burnus@net-b.de>
222         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
224 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
226         Revert previous patch.
228 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
230         Update copyright years.
232 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
234         PR libquadmath/56072
235         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
237 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
239         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
240         instead of L suffixed ones.
241         * math/fmaq.c (fmaq): Likewise.
242         * math/rintq.c (TWO112): Likewise.
244 2012-12-03  Tobias Burnus  <burnus@net-b.de>
246         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
247         reading.
249 2012-11-25  Tobias Burnus  <burnus@net-b.de>
251         PR libquadmath/55462
252         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
253         instead of nonexisting HAVE_GET_ROUNDING_MODE.
255 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
257         PR bootstrap/55455
258         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
259         void to fegetround.
261 2012-11-23  Tobias Burnus  <burnus@net-b.de>
262             Joseph Myers  <joseph@codesourcery.com>
264         * quadmath-rounding-mode.h: New.
265         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
266         * printf/fpioconst.h: Ditto.
267         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
268         Make printf respect the rounding mode for decimal output.
269         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
270         GLIBC.  Make printf respect the rounding mode for hex output.
271         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
272         rounding mode. Fix strtod handling of underflow.
274 2012-11-22  David S. Miller  <davem@davemloft.net>
275             Tobias Burnus  <burnus@net-b.de>
276             Joseph Myers  <joseph@codesourcery.com>
278         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
279         very large arguments properly.
280         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
281         underflow when 'x' is very small.
282         * math/j1q.c (y1q): Ditto.
283         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
284         nonzero exponents with absolute value below 0x1p-128 to
285         +/- 0x1p-128.
286         * math/powq.c (powq): Update from GLIBC. If xm1 is
287         smaller than LDBL_EPSILON/2.0L, just return xm1.
289 2012-11-21  Tobias Burnus  <burnus@net-b.de>
291         PR libquadmath/55225
292         * math/lgammaq.c (lgammaq): Use local variable if
293         math.h does not provide signgam.
294         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
295         * configure.ac: Use it.
296         * configure: Regenerate.
297         * config.h.in: Regenerate.
299 2012-11-15  Tobias Burnus  <burnus@net-b.de>
300             Joseph Myers  <joseph@codesourcery.com>
302         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
303         underflows with small x * y; Fix overflow results
304         outside round-to-nearest mode; make use of Dekker
305         and Knuth algorithms use round-to-nearest.
307 2012-11-01  Tobias Burnus  <burnus@net-b.de>
309         * math/fmaq.c (fmaq): Fix build.
311 2012-11-01  Tobias Burnus  <burnus@net-b.de>
312             Joseph Myers  <joseph@codesourcery.com>
314         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
315         with small x * y using scaling, not as x * y + z.
316         * math/lgammaq.c (lgammaq): Fix signgam handling.
318 2012-11-01  Tobias Burnus  <burnus@net-b.de>
320         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
321         * Makefile.in: Regenerated.
322         * math/acoshq.c: Update comment.
323         * math/acosq.c: Ditto.
324         * math/asinhq.c: Ditto.
325         * math/asinq.c: Ditto.
326         * math/atan2q.c: Ditto.
327         * math/atanhq.c: Ditto.
328         * math/ceilq.c: Ditto.
329         * math/copysignq.c: Ditto.
330         * math/cosq.c: Ditto.
331         * math/coshq.c: Ditto.
332         * math/erfq.c: Ditto.
333         * math/fabsq.c: Ditto.
334         * math/finiteq.c: Ditto.
335         * math/floorq.c: Ditto.
336         * math/fmodq.c: Ditto.
337         * math/frexpq.c: Ditto.
338         * math/isnanq.c: Ditto.
339         * math/j0q.c: Ditto.
340         * math/j1q.c: Ditto.
341         * math/ldexpq.c: Ditto.
342         * math/llroundq.c: Ditto.
343         * math/log10q.c: Ditto.
344         * math/log1pq.c: Ditto.
345         * math/log2q.c: Ditto.
346         * math/logq.c: Ditto.
347         * math/lroundq.c: Ditto.
348         * math/modfq.c: Ditto.
349         * math/nextafterq.c: Ditto.
350         * math/powq.c: Ditto.
351         * math/rem_pio2q.c: Ditto.
352         * math/remainderq.c: Ditto.
353         * math/rintq.c: Ditto.
354         * math/roundq.c: Ditto.
355         * math/scalblnq.c: Ditto.
356         * math/scalbnq.c: Ditto.
357         * math/sincosq_kernel.c: Ditto.
358         * math/sinq.c: Ditto.
359         * math/tanq.c: Ditto.
360         * math/expq.c: Ditto.
361         (__expq_table, expq): Renamed local array from __expl_table.
362         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
363         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
364         * math/casinhq.c: Changes from GLIBC to fix special-case.
365         * math/cbrtq.c: Use modified GLIBC version.
366         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
367         ctanhq, ctanq): Moved to separates files.
368         (mult_c128, div_c128): Removed no longer needed functions.
369         (cexpiq): Call sincosq instead of sinq and cosq.
370         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
371         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
372         modified based on GLIBC.
373         * math/cexpq.c (cexp): Ditto.
374         * math/clog10q.c (clog10q): Ditto.
375         * math/clogq.c (clogq): Ditto.
376         * math/csinhq.c: Ditto.
377         * math/csinq.c: Ditto.
378         * math/csqrtq.c: Ditto.
379         * math/ctanhq.c: Ditto.
380         * math/ctanq.c: Ditto.
381         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
382         from GLIBC.
383         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
384         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
385         from GLIBC.
386         * math/lgammaq.c (lgammaq): Add signgam handling.
387         * math/sinhq.c (sinhq): Fix sign handling.
388         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
389         * math/tgammaq.c (tgammaq): Ditto.
390         * math/x2y2m1q.c: New file.
391         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
392         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
394 2012-10-31  Tobias Burnus  <burnus@net-b.de>
395             Joseph Myers <joseph@codesourcery.com>
396             David S. Miller <davem@davemloft.net>
397             Ulrich Drepper <drepper@redhat.com>
398             Marek Polacek <polacek@redhat.com>:
399             Petr Baudis <pasky@suse.cz>
401         * math/complex.c (csqrtq): NaN and INF fixes. 
402         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
403         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
404         large parameters. Fix errno for boundary conditions.
405         * math/finiteq.c (finiteq): Add comment.
406         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
407         and bad results for some subnormal results. Fix sign of inexact
408         zero return. Fix sign of exact zero return. 
409         Ensure additions are not scheduled after fetestexcept.
410         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
411         for ynq. Fix jnq precision.
412         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
413         manipulate bits before adding and subtracting TWO112[sx].
414         * math/rintq.c (rintq): Ditto.
415         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
416         overflow.
418 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
420         * configure: Regenerated.
422 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
424         PR libstdc++/51007
425         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
426         * configure: Regenerated.
428 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
430         * configure: Regenerated.
432 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
434         * configure: Regenerate.
436 2011-11-07  Kai Tietz  <ktietz@redhat.com>
438         PR target/51007
439         * quadmath-imp.h (ieee854_float128): Adjust
440         for ms-bitfield layout.
442 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
444         * printf/gmp-impl.h: Adapt path to longlong.h.
446 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
448         * Makefile.am (FLAGS_TO_PASS): Define.
449         * Makefile.in: Regenerate.
451 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
453         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
454         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
456 2011-04-03  Tobias Burnus  <burnus@net-b.de>
458         PR fortran/48311
459         * libquadmath.texi (strtoflt128): Fix typo.
460         (quadmath_snprintf): Move note up, make @item.
462 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
464         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
465         mempcpy.
467 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
469         PR bootstrap/48135
470         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
471         * configure: Regenerate.
473 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
475         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
476         that for size > 0 str is always zero terminated.
478 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
480         PR bootstrap/47827
481         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
483 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
485         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
486         FLT128_MAX_10_EXP): Document.
487         (strtoflt128): Remove obsolete comment.
488         * configure.ac (HAVE_STRTOULL): New check.
489         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
490         define.
491         * printf/mul_n.c: Include <config.h>.
492         * printf/add_n.c: Likewise.
493         * printf/cmp.c: Likewise.
494         * printf/fpioconst.c: Likewise.
495         * printf/mul_1.c: Likewise.
496         * printf/rshift.c: Likewise.
497         * printf/lshift.c: Likewise.
498         * printf/submul_1.c: Likewise.
499         * printf/sub_n.c: Likewise.
500         * printf/divrem.c: Likewise.
501         * printf/addmul_1.c: Likewise.
502         * printf/mul.c: Likewise.
503         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
504         to avoid evaluating argument multiple times.
505         (isxdigit): Redefine.
506         * strtod/strtoflt128.c: New file.
507         * strtod/strtod_l.c: New file.
508         * strtod/mpn2flt128.c: New file.
509         * strtod/grouping.h: New file.
510         * strtod/tens_in_limb.c: New file.
511         * gdtoa/arith.h: Removed.
512         * gdtoa/gd_qnan.h: Removed.
513         * gdtoa/gdtoa_fltrnds.h: Removed.
514         * gdtoa/gdtoa.h: Removed.
515         * gdtoa/gdtoaimp.h: Removed.
516         * gdtoa/gethex.c: Removed.
517         * gdtoa/gmisc.c: Removed.
518         * gdtoa/hd_init.c: Removed.
519         * gdtoa/hexnan.c: Removed.
520         * gdtoa/makefile: Removed.
521         * gdtoa/misc.c: Removed.
522         * gdtoa/README.gdtoa: Removed.
523         * gdtoa/smisc.c: Removed.
524         * gdtoa/strtodg.c: Removed.
525         * gdtoa/strtopQ.c: Removed.
526         * gdtoa/sum.c: Removed.
527         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
528         Define.
529         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
530         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
531         * config.h.in: Regenerated.
532         * configure: Regenerated.
533         * Makefile.in: Regenerated.
535 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
537         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
538         whether workarounds for printf hook handling should be added.
540         * configure.ac: Check for locale.h too.
541         (USE_LOCALE_SUPPORT): Remove check.
542         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
543         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
544         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
545         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
546         for wide version.
547         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
548         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
549         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
550         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
551         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
552         USE_I18N_NUMBER_H #ifdef.
553         * configure: Regenerated.
554         * config.h.in: Regenerated.
556 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
558         PR bootstrap/47736
559         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
560         user field.
561         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
562         field instead of setting individual fields to 0.  Don't set info.user
563         to -1.
564         * configure: Regenerated.
566         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
567         * printf/printf_fp.c: Don't include <alloca.h>.
568         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
569         * configure: Regenerated.
571         PR fortran/47642
572         * libquadmath.texi (quadmath_snprintf): Document.
573         (quadmath_flt128tostr): Remove.
574         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
575         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
576         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
577         * quadmath.h (quadmath_snprintf): New prototype.
578         (quadmath_flt128tostr): Remove.
579         * quadmath_weak.h (quadmath_snprintf): Add.
580         (quadmath_flt128tostr): Remove.
581         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
582         wctype.h, limits.h, ctype.h, printf.h, errno.h.
583         (AC_USE_SYSTEM_EXTENSIONS): Add.
584         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
585         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
586         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
587         quadmath_flt128tostr.
588         * printf/printf_fphex.c: New file.
589         * printf/_itowa.h: New file.
590         * printf/mul_n.c: New file.
591         * printf/quadmath-printf.h: New file.
592         * printf/submul_1.c: New file.
593         * printf/quadmath-printf.c: New file.
594         * printf/gmp-impl.h: New file.
595         * printf/lshift.c: New file.
596         * printf/fpioconst.h: New file.
597         * printf/add_n.c: New file.
598         * printf/cmp.c: New file.
599         * printf/sub_n.c: New file.
600         * printf/mul.c: New file.
601         * printf/divrem.c: New file.
602         * printf/addmul_1.c: New file.
603         * printf/printf_fp.c: New file.
604         * printf/_itoa.h: New file.
605         * printf/fpioconst.c: New file.
606         * printf/_i18n_number.h: New file.
607         * printf/flt1282mpn.c: New file.
608         * printf/rshift.c: New file.
609         * printf/mul_1.c: New file.
610         * quadmath_io.c: Removed.
611         * gdtoa/gdtoa.c: Removed.
612         * gdtoa/g__fmt.c: Removed.
613         * gdtoa/g_Qfmt.c: Removed.
614         * gdtoa/dmisc.c: Removed.
615         * gdtoa/ulp.c: Removed.
616         * config.h.in: Regenerated.
617         * configure: Regenerated.
618         * Makefile.in: Regenerated.
620 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
622         * Makefile.in: Regenerate.
623         * aclocal.m4: Likewise.
624         * configure: Likewise.
626 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
628         PR libquadmath/47293
629         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
630         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
632 2011-01-17  Tobias Burnus  <burnus@net-b.de>
634         PR fortran/47295
635         * libquadmath.text: Document typedef and constants.
637 2011-01-17  Tobias Burnus  <burnus@net-b.de>
639         PR fortran/46817
640         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
641         bump copyright year and use /**/ instead of // comments.
642         * quadmath.h: Ditto.
643         * quadmath-weak.h: Ditto.
644         * quadmath_io.c: Ditto.
646 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
648         PR libfortran/47322
649         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
651         PR fortran/46625
652         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
653         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
654         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
655         (strtoflt128, quadmath_flt128tostr): Add.
656         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
657         (strtoflt128): ... this.  Return __float128, instead of writing
658         to memory pointed by last argument.
659         * quadmath.h: Use C style comments instead of C++ style.
660         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
661         (strtoflt128, quadmath_flt128tostr): Add prototypes.
662         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
663         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
664         adjust examples.
665         * quadmath_io.c (quadmath_dtoaq): Rename to...
666         (quadmath_flt128tostr): ... this.
668         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
669         Use it for all prototypes.
671         PR fortran/46416
672         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
673         const from prototype argument.
674         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
675         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
676         (__quadmath_extern_inline): Define.
677         (cimagq, conjq, crealq): New inlines.
678         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
679         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
680         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
681         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
682         * Makefile.in: Regenerated.
683         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
684         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
685         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
686         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
687         tests instead of __BIG_ENDIAN__.
688         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
689         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
690         and remquoq.
691         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
692         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
693         * math/cprojq.c: New file.
694         * math/ilogbq.c: New file.
695         * math/fminq.c: New file.
696         * math/llrintq.c: New file.
697         * math/log2q.c: New file.
698         * math/lrintq.c: New file.
699         * math/crealq.c: New file.
700         * math/nearbyintq.c: New file.
701         * math/fmaxq.c: New file.
702         * math/conjq.c: New file.
703         * math/remquoq.c: New file.
704         * math/cimagq.c: New file.
705         * math/fdimq.c: New file.
707         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
709         PR fortran/46416
710         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
711         New prototypes.
712         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
713         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
714         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
715         catanhq): Add.
716         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
717         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
718         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
719         catanq and catanhq.
720         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
721         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
722         and math/catanhq.c.
723         * Makefile.in: Regenerated.
724         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
725         catanq, catanhq): Add.
726         * math/cacoshq.c: New file.
727         * math/cacosq.c: New file.
728         * math/catanq.c: New file.
729         * math/catanhq.c: New file.
730         * math/casinq.c: New file.
731         * math/casinhq.c: New file.
733         * math/hypotq.c (hypotq): Use Q suffix instead of L.
734         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
735         * math/cosq.c (cosq): Likewise.
737         PR fortran/46402
738         * quadmath.map (QUADMATH_1.0): Add fmaq.
739         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
740         feupdateenv, fesetenv and fetestexcept.
741         * configure: Regenerated.
742         * config.h.in: Regenerated.
743         * quadmath.h (fmaq): New prototype.
744         * quadmath_weak.h (fmaq): Add.
745         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
746         * Makefile.in: Regenerated.
747         * quadmath-imp.h: Include config.h.
748         * math/expq.c: Include fenv.h.
749         (USE_FENV_H): Define if libm support for fe* is there.
750         (expq): Add fesetround etc. support if USE_FENV_H is defined.
751         * math/fmaq.c: New file.
752         * libquadmath.texi (fmaq): Add.
754 2011-01-14  Tobias Burnus  <burnus@net-b.de>
756         PR fortran/47182
757         * configure.ac: Use ACX_BUGURL.
758         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
759         * Makefile.am: Create libquadmath-vers.texi.
760         * configure.in: Regenerate.
761         * Makefile.in: Regenerate.
763 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
765         PR fortran/47174
766         * Makefile.am (libquadmath.info): Unconditionally override
767         target, not only if BUILD_LIBQUADMATH.
768         * Makefile.in: Regenerate.
769         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
770         avoid warning from automake.
772 2010-12-19  Tobias Burnus  <burnus@net-b.de>
774         PR fortran/46520
775         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
776         * configure: Regenerate
778 2010-12-13  Tobias Burnus  <burnus@net-b.de>
780         PR fortran/46625
781         * gdtoa/gdtoaimp.h: Mangle internal functions by
782         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
783         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
784         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
785         if NO_STRING_H is set.
786         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
787         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
788         __quadmath prefix to internal functions.
789         * math/cosq.c (cosq): Ditto.
790         * math/sinq.c (cosq): Ditto.
791         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
792         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
793         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
794         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
796 2010-12-08  Tobias Burnus  <burnus@net-b.de>
798         PR fortran/46772
799         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
800         * gdtoa/gdtoaimp.h: Don't declare strtod.
802 2010-12-08  Tobias Burnus  <burnus@net-b.de>
804         PR fortran/46520
805         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
806         AC_TRY_LINK and cache libquad_have_float128.
807         * configure: Regenerate.
809 2010-12-08  Tobias Burnus  <burnus@net-b.de>
811         PR fortran/46543
812         * configure.ac: Add texinfo checks.
813         * Makefile.am: Handle .texi documentation.
814         * libquadmath.texi: New.
815         * configure: Regenerated.
816         * Makefile.in: Regenerated.
818 2010-12-06  Tobias Burnus  <burnus@net-b.de>
820         PR fortran/46817
821         * quadmath-imp.h: Add LGPL header.
822         * quadmath.h: Add LGPL header.
823         * quadmath_io.c: Add LGPL header.
824         * quadmath_weak.h: Add LGPL header.
826 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
828         PR target/40125
829         PR lto/46695
830         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
831         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
832         * aclocal.m4: Regenerate.
833         * configure: Regenerate.
834         * Makefile.in: Regenerate.
836 2010-11-30  Tobias Burnus  <burnus@net-b.de>
838         PR fortran/46594
839         * Makefile.am: Install include files in
840         target/version specific directory.
841         * Makefile.in: Regenerate.
843 2010-11-30  Tobias Burnus  <burnus@net-b.de>
845         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
846         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
847         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
849 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
851         * configure: Regenerated.
852         * Makefile.in: Regenerated.
853         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
854         (target_alias): Use AC_SUBST for it.
855         (GCC_NO_EXECUTABLES): Call it.
856         (AC_PROG_CC): Improve multilib handling.
857         Check that gcc is used for compilation.
858         Use pattern from libssp for symbol versioning checking.
859         * Makefile.am (LTLDFLAGS): Removed.
860         (libquadmath_la_LDFLAGS): Add -no-undefined.
861         (libquadmath_la_LINK): Commented out.
862         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
863         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
864         (MAKEOVERRIDES): New.
865         * aclocal.m4: Regenerated.
867 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
869         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
870         (libquadmath_la_LDFLAGS): ... here.
871         (quadmath.map-sun): Tabify.
872         Fix sed expression.
873         * Makefile.in: Regenerate.
875 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
876             Tobias Burnus  <burnus@net-b.de>
878         PR fortran/32049
879         Initial implementation and checkin.
881 Copyright (C) 2010-2018 Free Software Foundation, Inc.
883 Copying and distribution of this file, with or without modification,
884 are permitted in any medium without royalty provided the copyright
885 notice and this notice are preserved.