ada: Fix spurious error on nested instantiations with generic renaming
[official-gcc.git] / libquadmath / ChangeLog
blob3003c7a84a7ad35a9e1a165b2cdffd161ad1b067
1 2023-03-02  niXman  <i.nixman@autistici.org>
2             Jakub Jelinek  <jakub@redhat.com>
4         PR libquadmath/87204
5         PR libquadmath/94756
6         * printf/gmp-impl.h (mp_limb_t, mp_limb_signed_t, BITS_PER_MP_LIMB):
7         Use 64-bit limbs on LLP64 targets.
8         * strtod/strtod_l.c (round_and_return): Cherry-pick glibc
9         9310c284ae9 BZ #16151, 4406c41c1d6 BZ #16965 and fcd6b5ac36a
10         BZ #23279 fixes.
11         (____STRTOF_INTERNAL): Cherry-pick glibc b0debe14fcf BZ #23007,
12         5556d30caee BZ #18247, 09555b9721d and c6aac3bf366 BZ #26137 and
13         d84f25c7d87 fixes.
15 2023-01-02  Jakub Jelinek  <jakub@redhat.com>
17         * libquadmath.texi: Bump @copying's copyright year.
19 2022-11-14  Martin Liska  <mliska@suse.cz>
21         Revert:
22         2022-11-14  Martin Liska  <mliska@suse.cz>
24         * doc/conf.py: New file.
25         * doc/copyright.rst: New file.
26         * doc/gnu-free-documentation-license.rst: New file.
27         * doc/i-o-library-routines.rst: New file.
28         * doc/index.rst: New file.
29         * doc/indices-and-tables.rst: New file.
30         * doc/introduction.rst: New file.
31         * doc/math-library-routines.rst: New file.
32         * doc/quadmathsnprintf.rst: New file.
33         * doc/reporting-bugs.rst: New file.
34         * doc/strtoflt128.rst: New file.
35         * doc/typedef-and-constants.rst: New file.
37 2022-11-14  Martin Liska  <mliska@suse.cz>
39         Revert:
40         2022-11-14  Martin Liska  <mliska@suse.cz>
42         * Makefile.in: Support Sphinx based documentation.
44 2022-11-14  Martin Liska  <mliska@suse.cz>
46         Revert:
47         2022-11-14  Martin Liska  <mliska@suse.cz>
49         * libquadmath.texi: Removed.
51 2022-11-14  Martin Liska  <mliska@suse.cz>
53         Revert:
54         2022-11-14  Martin Liska  <mliska@suse.cz>
56         * Makefile.in: Support --with-sphinx-build.
57         * configure.ac: Likewise.
58         * configure: Regenerate.
60 2022-11-14  Martin Liska  <mliska@suse.cz>
62         Revert:
63         2022-11-14  Martin Liska  <mliska@suse.cz>
65         * Makefile.in: Build info pages conditionally.
67 2022-11-14  Martin Liska  <mliska@suse.cz>
69         Revert:
70         2022-11-14  Martin Liska  <mliska@suse.cz>
72         * doc/copyright.rst:
73         Add trailing newline.
74         * doc/gnu-free-documentation-license.rst:
75         Add trailing newline.
76         * doc/i-o-library-routines.rst:
77         Add trailing newline.
78         * doc/index.rst:
79         Add trailing newline.
80         * doc/indices-and-tables.rst:
81         Add trailing newline.
82         * doc/introduction.rst:
83         Add trailing newline.
84         * doc/math-library-routines.rst:
85         Add trailing newline.
86         * doc/quadmathsnprintf.rst:
87         Add trailing newline.
88         * doc/reporting-bugs.rst:
89         Add trailing newline.
90         * doc/strtoflt128.rst:
91         Add trailing newline.
92         * doc/typedef-and-constants.rst:
93         Add trailing newline.
95 2022-11-14  Martin Liska  <mliska@suse.cz>
97         Revert:
98         2022-11-14  Martin Liska  <mliska@suse.cz>
100         * Makefile.in: Add missing HAS_SPHINX_BUILD.
102 2022-11-14  Martin Liska  <mliska@suse.cz>
104         Revert:
105         2022-11-14  Martin Liska  <mliska@suse.cz>
107         * doc/conf.py: Add newline at last line.
109 2022-11-14  Martin Liska  <mliska@suse.cz>
111         Revert:
112         2022-11-14  Martin Liska  <mliska@suse.cz>
114         PR other/107620
115         * configure: Regenerate.
116         * configure.ac: Always set sphinx-build.
118 2022-11-13  Martin Liska  <mliska@suse.cz>
120         PR other/107620
121         * configure: Regenerate.
122         * configure.ac: Always set sphinx-build.
124 2022-11-10  Martin Liska  <mliska@suse.cz>
126         * doc/conf.py: Add newline at last line.
128 2022-11-09  Martin Liska  <mliska@suse.cz>
130         * Makefile.in: Add missing HAS_SPHINX_BUILD.
132 2022-11-09  Martin Liska  <mliska@suse.cz>
134         * doc/copyright.rst:
135         Add trailing newline.
136         * doc/gnu-free-documentation-license.rst:
137         Add trailing newline.
138         * doc/i-o-library-routines.rst:
139         Add trailing newline.
140         * doc/index.rst:
141         Add trailing newline.
142         * doc/indices-and-tables.rst:
143         Add trailing newline.
144         * doc/introduction.rst:
145         Add trailing newline.
146         * doc/math-library-routines.rst:
147         Add trailing newline.
148         * doc/quadmathsnprintf.rst:
149         Add trailing newline.
150         * doc/reporting-bugs.rst:
151         Add trailing newline.
152         * doc/strtoflt128.rst:
153         Add trailing newline.
154         * doc/typedef-and-constants.rst:
155         Add trailing newline.
157 2022-11-09  Martin Liska  <mliska@suse.cz>
159         * Makefile.in: Build info pages conditionally.
161 2022-11-09  Martin Liska  <mliska@suse.cz>
163         * Makefile.in: Support --with-sphinx-build.
164         * configure.ac: Likewise.
165         * configure: Regenerate.
167 2022-11-09  Martin Liska  <mliska@suse.cz>
169         * libquadmath.texi: Removed.
171 2022-11-09  Martin Liska  <mliska@suse.cz>
173         * Makefile.in: Support Sphinx based documentation.
175 2022-11-09  Martin Liska  <mliska@suse.cz>
177         * doc/conf.py: New file.
178         * doc/copyright.rst: New file.
179         * doc/gnu-free-documentation-license.rst: New file.
180         * doc/i-o-library-routines.rst: New file.
181         * doc/index.rst: New file.
182         * doc/indices-and-tables.rst: New file.
183         * doc/introduction.rst: New file.
184         * doc/math-library-routines.rst: New file.
185         * doc/quadmathsnprintf.rst: New file.
186         * doc/reporting-bugs.rst: New file.
187         * doc/strtoflt128.rst: New file.
188         * doc/typedef-and-constants.rst: New file.
190 2022-10-12  Martin Liska  <mliska@suse.cz>
192         * configure: Regenerate.
194 2022-10-11  Olivier Hainque  <hainque@adacore.com>
195             Olivier Hainque  <hainque@adacore.com>
197         * configure: Regenerate.
199 2022-08-25  Martin Liska  <mliska@suse.cz>
201         * configure: Regenerate.
203 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
205         * configure.ac: Set XCFLAGS to -mno-gnu-attribute on
206         powerpc64le*-linux*.
207         * configure: Regenerated.
209 2022-01-03  Jakub Jelinek  <jakub@redhat.com>
211         * libquadmath.texi: Bump @copying's copyright year.
213 2021-06-08  Martin Liska  <mliska@suse.cz>
215         * libquadmath.texi: Fix typo.
217 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
219         * configure: Re-generate.
221 2021-01-01  Jakub Jelinek  <jakub@redhat.com>
223         * libquadmath.texi: Bump @copying's copyright year.
225 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
227         PR target/97865
228         * configure: Regenerate.
230 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
232         * configure: Regenerate.
234 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
236         PR bootstrap/95413
237         * configure: Regenerated.
239 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
241         PR bootstrap/95147
242         * configure: Regenerated.
244 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
246         * configure: Regenerated.
248 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
250         PR libstdc++/79193
251         PR libstdc++/88999
253         * configure: Regenerated.
255 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
257         * configure.ac: Handle `--with-toolexeclibdir='.
258         * Makefile.in: Regenerate.
259         * aclocal.m4: Regenerate.
260         * configure: Regenerate.
262 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
264         Update copyright years.
266         * libquadmath.texi: Bump @copying's copyright year.
268 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
270         * configure: Regenerate.
272 2019-08-02  Jakub Jelinek  <jakub@redhat.com>
274         * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
275         M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
276         M_SQRT1_2q): Use two more decimal places.
278 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
280         Update copyright years.
282         * libquadmath.texi: Bump @copying's copyright year.
284 2018-12-11  Jakub Jelinek  <jakub@redhat.com>
286         PR c/88430
287         * quadmath_weak.h (__qmath2): Add __quadmath_throw.
289 2018-11-07  Joseph Myers  <joseph@codesourcery.com>
291         * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
292         mantissa2 and mantissa3 fields instead of mant_high and mant_low.
293         Change nan field to ieee_nan.
294         * update-quadmath.py (update_sources): Also update fmaq.c.
295         * math/nanq.c (nanq): Use ieee_nan field of union.
296         Zero-initialize f.  Set quiet_nan field.
297         * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
298         strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
299         mantissa3 fields.  Use ieee_nan and quiet_nan field.
300         * math/fmaq.c: Regenerate from glibc sources with
301         update-quadmath.py.
303 2018-11-05  Joseph Myers  <joseph@codesourcery.com>
305         PR libquadmath/68686
306         * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
307         Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
308         math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
309         math/casinhq_kernel.c.
310         * Makefile.in: Regenerate.
311         * libquadmath.texi (exp2q, issignalingq): Document.
312         * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
313         <fenv.h>.
314         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
315         (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
316         (__quadmath_gamma_productq, __quadmath_gammaq_r)
317         (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
318         (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
319         (math_check_force_underflow_complex, __glibc_likely)
320         (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
321         (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
322         (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
323         (fesetenv, fetestexcept, feclearexcept): Define if not supported
324         through <fenv.h>.
325         (__quadmath_isinf_nsq): Remove.
326         * quadmath.h (exp2q, issignalingq): New.
327         * quadmath.map (QUADMATH_1.2): New.
328         * quadmath_weak.h (exp2q, issignalingq): New.
329         * update-quadmath.py: New file.
330         * math/isinf_nsq.c: Remove file.
331         * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
332         math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
333         math/tanq_kernel.c, math/tgammaq_product.c: New files.  Generated
334         from glibc sources with update-quadmath.py.
335         * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
336         math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
337         math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
338         math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
339         math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
340         math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
341         math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
342         math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
343         math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
344         math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
345         math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
346         math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
347         math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
348         math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
349         math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
350         math/lroundq.c, math/modfq.c, math/nearbyintq.c,
351         math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
352         math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
353         math/signbitq.c, math/sincos_table.c, math/sincosq.c,
354         math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
355         math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
356         math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
357         update-quadmath.py.
359 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
361         PR bootstrap/82856
362         * Makefile.am: Include multilib.am.
363         (AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
364         (all-local): Define outside conditional code.
365         (CLEANFILES): Remove libquadmath.info.
366         * configure.ac: Remove AC_PREREQ.
367         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
369 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
371         * configure: Regenerated.
373 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
375         * configure: Regenerated.
377 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
379         PR jit/85384
380         * configure: Regenerate.
382 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
384         PR target/84148
385         * configure: Regenerate.
387 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
389         * libquadmath.texi: Bump @copying's copyright year.
391 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
393         * Makefile.am: Update AM_CFLAGS.
394         * Makefile.in: Regenerate:
395         * acinclude.m4: Add enable.m4 and cet.m4.
396         * configure: Regenerate.
397         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
399 2017-11-05  Tom de Vries  <tom@codesourcery.com>
401         PR other/82784
402         * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
403         "do {} while (0)".
405 2017-09-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
407         PR libquadmath/81848
408         * configure.ac (powerpc*-linux*): Use attribute mode KC to create
409         complex __float128 on PowerPC instead of attribute mode TC.
410         * quadmath.h (__complex128): Likewise.
411         * configure: Regenerate.
412         * math/cbrtq.c (CBRT2): Use __float128 not long double.
413         (CBRT4): Likewise.
414         (CBRT2I): Likewise.
415         (CBRT4I): Likewise.
416         * math/j0q.c (U0): Likewise.
417         * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
418         between __float128, instead explicitly convert the __float128
419         value to long double because the PowerPC does not allow __float128
420         and long double in the same expression.
422 2017-07-19  Gerald Pfeifer  <gerald@pfeifer.com>
424         * math/powq.c (powq): Use uint32_t instead of u_int32_t.
426 2017-07-19  Jakub Jelinek  <jakub@redhat.com>
428         PR libquadmath/65757
429         * quadmath-imp.h (math_opt_barrier, math_force_eval,
430         math_narrow_eval, math_check_force_underflow,
431         math_check_force_underflow_nonneg): Define.
432         * math/ceilq.c: Backport changes from upstream glibc
433         between 2012-11-01 and 2017-07-13.
434         * math/remquoq.c: Likewise.
435         * math/expq.c: Likewise.
436         * math/llroundq.c: Likewise.
437         * math/logq.c: Likewise.
438         * math/atanq.c: Likewise.
439         * math/nearbyintq.c: Likewise.
440         * math/scalblnq.c: Likewise.
441         * math/finiteq.c: Likewise.
442         * math/atanhq.c: Likewise.
443         * math/expm1q.c: Likewise.
444         * math/sinhq.c: Likewise.
445         * math/log10q.c: Likewise.
446         * math/rintq.c: Likewise.
447         * math/roundq.c: Likewise.
448         * math/fmaq.c: Likewise.
449         * math/erfq.c: Likewise.
450         * math/log2q.c: Likewise.
451         * math/lroundq.c: Likewise.
452         * math/j1q.c: Likewise.
453         * math/scalbnq.c: Likewise.
454         * math/truncq.c: Likewise.
455         * math/frexpq.c: Likewise.
456         * math/sincosq.c: Likewise.
457         * math/tanhq.c: Likewise.
458         * math/asinq.c: Likewise.
459         * math/coshq.c: Likewise.
460         * math/j0q.c: Likewise.
461         * math/asinhq.c: Likewise.
462         * math/floorq.c: Likewise.
463         * math/sinq_kernel.c: Likewise.
464         * math/powq.c: Likewise.
465         * math/hypotq.c: Likewise.
466         * math/sincos_table.c: Likewise.
467         * math/rem_pio2q.c: Likewise.
468         * math/nextafterq.c: Likewise.
469         * math/log1pq.c: Likewise.
470         * math/sincosq_kernel.c: Likewise.
471         * math/tanq.c: Likewise.
472         * math/acosq.c: Likewise.
473         * math/lrintq.c: Likewise.
474         * math/llrintq.c: Likewise.
476 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
478         * configure.ac (ACX_BUGURL): Update.
479         * configure: Regenerate.
481 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
483         PR other/79046
484         * configure.ac: Add GCC_BASE_VER.
485         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
486         get version from BASE-VER file.
487         * configure: Regenerated.
488         * Makefile.in: Regenerated.
490 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
492         * libquadmath.texi: Bump @copying's copyright year.
494 2016-11-15  Matthias Klose  <doko@ubuntu.com>
496         * configure: Regenerate.
498 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
500         * libquadmath.texi: Bump @copying's copyright year.
502 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
504         * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
505         * Makefile.in: Regenerate.
506         * libquadmath.texi: Document logbq.
507         * quadmath.h: Add logbq prototype.
508         * quadmath.map: Add logbq.
509         * quadmath_weak.h: Add logbq prototype.
510         * math/logbq.c: New file
512 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
514         * Makefile.in: Regenerated with automake-1.11.6.
515         * aclocal.m4: Likewise.
516         * configure: Likewise.
518 2015-01-26  Matthias Klose  <doko@ubuntu.com>
520         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
521         * configure: Regenerate.
523 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
525         * libquadmath.texi: Bump @copying's copyright year.
527 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
529         PR bootstrap/63784
530         * configure: Regenerated.
532 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
534         PR target/63610
535         * configure: Regenerate.
537 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
539         PR libquadmath/55821
540         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
541         * Makefile.in: Regenerate.
543 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
545         PR libquadmath/55821
546         * Makefile.am: Conditionally define info_TEXINFOS and
547         libquadmath_TEXINFOS.
548         * Makefile.in: Regenerate.
550 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
552         PR libquadmath/63487
553         * libquadmath.texi (sincosq): Fix typo.
555 2014-01-02  Tobias Burnus  <burnus@net-b.de>
557         * libquadmath.texi: Bump @copying's copyright year.
559 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
561         * Makefile.am (AM_CPPFLAGS): Define.
562         * Makefile.in: Regenerate.
563         * printf/gmp-impl.h: Remove path from longlong.h include.
565 2013-09-20  Alan Modra  <amodra@gmail.com>
567         * configure: Regenerate.
569 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
571         PR libquadmath/55473
572         * quadmath.h: Add 'extern "C"' block for C++ use.
574 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
576         PR libquadmath/56379
577         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
578         macro.
580 2013-02-17  Tobias Burnus  <burnus@net-b.de>
582         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
584 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
586         Revert previous patch.
588 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
590         Update copyright years.
592 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
594         PR libquadmath/56072
595         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
597 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
599         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
600         instead of L suffixed ones.
601         * math/fmaq.c (fmaq): Likewise.
602         * math/rintq.c (TWO112): Likewise.
604 2012-12-03  Tobias Burnus  <burnus@net-b.de>
606         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
607         reading.
609 2012-11-25  Tobias Burnus  <burnus@net-b.de>
611         PR libquadmath/55462
612         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
613         instead of nonexisting HAVE_GET_ROUNDING_MODE.
615 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
617         PR bootstrap/55455
618         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
619         void to fegetround.
621 2012-11-23  Tobias Burnus  <burnus@net-b.de>
622             Joseph Myers  <joseph@codesourcery.com>
624         * quadmath-rounding-mode.h: New.
625         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
626         * printf/fpioconst.h: Ditto.
627         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
628         Make printf respect the rounding mode for decimal output.
629         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
630         GLIBC.  Make printf respect the rounding mode for hex output.
631         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
632         rounding mode. Fix strtod handling of underflow.
634 2012-11-22  David S. Miller  <davem@davemloft.net>
635             Tobias Burnus  <burnus@net-b.de>
636             Joseph Myers  <joseph@codesourcery.com>
638         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
639         very large arguments properly.
640         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
641         underflow when 'x' is very small.
642         * math/j1q.c (y1q): Ditto.
643         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
644         nonzero exponents with absolute value below 0x1p-128 to
645         +/- 0x1p-128.
646         * math/powq.c (powq): Update from GLIBC. If xm1 is
647         smaller than LDBL_EPSILON/2.0L, just return xm1.
649 2012-11-21  Tobias Burnus  <burnus@net-b.de>
651         PR libquadmath/55225
652         * math/lgammaq.c (lgammaq): Use local variable if
653         math.h does not provide signgam.
654         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
655         * configure.ac: Use it.
656         * configure: Regenerate.
657         * config.h.in: Regenerate.
659 2012-11-15  Tobias Burnus  <burnus@net-b.de>
660             Joseph Myers  <joseph@codesourcery.com>
662         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
663         underflows with small x * y; Fix overflow results
664         outside round-to-nearest mode; make use of Dekker
665         and Knuth algorithms use round-to-nearest.
667 2012-11-01  Tobias Burnus  <burnus@net-b.de>
669         * math/fmaq.c (fmaq): Fix build.
671 2012-11-01  Tobias Burnus  <burnus@net-b.de>
672             Joseph Myers  <joseph@codesourcery.com>
674         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
675         with small x * y using scaling, not as x * y + z.
676         * math/lgammaq.c (lgammaq): Fix signgam handling.
678 2012-11-01  Tobias Burnus  <burnus@net-b.de>
680         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
681         * Makefile.in: Regenerated.
682         * math/acoshq.c: Update comment.
683         * math/acosq.c: Ditto.
684         * math/asinhq.c: Ditto.
685         * math/asinq.c: Ditto.
686         * math/atan2q.c: Ditto.
687         * math/atanhq.c: Ditto.
688         * math/ceilq.c: Ditto.
689         * math/copysignq.c: Ditto.
690         * math/cosq.c: Ditto.
691         * math/coshq.c: Ditto.
692         * math/erfq.c: Ditto.
693         * math/fabsq.c: Ditto.
694         * math/finiteq.c: Ditto.
695         * math/floorq.c: Ditto.
696         * math/fmodq.c: Ditto.
697         * math/frexpq.c: Ditto.
698         * math/isnanq.c: Ditto.
699         * math/j0q.c: Ditto.
700         * math/j1q.c: Ditto.
701         * math/ldexpq.c: Ditto.
702         * math/llroundq.c: Ditto.
703         * math/log10q.c: Ditto.
704         * math/log1pq.c: Ditto.
705         * math/log2q.c: Ditto.
706         * math/logq.c: Ditto.
707         * math/lroundq.c: Ditto.
708         * math/modfq.c: Ditto.
709         * math/nextafterq.c: Ditto.
710         * math/powq.c: Ditto.
711         * math/rem_pio2q.c: Ditto.
712         * math/remainderq.c: Ditto.
713         * math/rintq.c: Ditto.
714         * math/roundq.c: Ditto.
715         * math/scalblnq.c: Ditto.
716         * math/scalbnq.c: Ditto.
717         * math/sincosq_kernel.c: Ditto.
718         * math/sinq.c: Ditto.
719         * math/tanq.c: Ditto.
720         * math/expq.c: Ditto.
721         (__expq_table, expq): Renamed local array from __expl_table.
722         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
723         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
724         * math/casinhq.c: Changes from GLIBC to fix special-case.
725         * math/cbrtq.c: Use modified GLIBC version.
726         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
727         ctanhq, ctanq): Moved to separates files.
728         (mult_c128, div_c128): Removed no longer needed functions.
729         (cexpiq): Call sincosq instead of sinq and cosq.
730         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
731         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
732         modified based on GLIBC.
733         * math/cexpq.c (cexp): Ditto.
734         * math/clog10q.c (clog10q): Ditto.
735         * math/clogq.c (clogq): Ditto.
736         * math/csinhq.c: Ditto.
737         * math/csinq.c: Ditto.
738         * math/csqrtq.c: Ditto.
739         * math/ctanhq.c: Ditto.
740         * math/ctanq.c: Ditto.
741         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
742         from GLIBC.
743         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
744         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
745         from GLIBC.
746         * math/lgammaq.c (lgammaq): Add signgam handling.
747         * math/sinhq.c (sinhq): Fix sign handling.
748         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
749         * math/tgammaq.c (tgammaq): Ditto.
750         * math/x2y2m1q.c: New file.
751         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
752         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
754 2012-10-31  Tobias Burnus  <burnus@net-b.de>
755             Joseph Myers <joseph@codesourcery.com>
756             David S. Miller <davem@davemloft.net>
757             Ulrich Drepper <drepper@redhat.com>
758             Marek Polacek <polacek@redhat.com>:
759             Petr Baudis <pasky@suse.cz>
761         * math/complex.c (csqrtq): NaN and INF fixes. 
762         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
763         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
764         large parameters. Fix errno for boundary conditions.
765         * math/finiteq.c (finiteq): Add comment.
766         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
767         and bad results for some subnormal results. Fix sign of inexact
768         zero return. Fix sign of exact zero return. 
769         Ensure additions are not scheduled after fetestexcept.
770         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
771         for ynq. Fix jnq precision.
772         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
773         manipulate bits before adding and subtracting TWO112[sx].
774         * math/rintq.c (rintq): Ditto.
775         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
776         overflow.
778 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
780         * configure: Regenerated.
782 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
784         PR libstdc++/51007
785         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
786         * configure: Regenerated.
788 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
790         * configure: Regenerated.
792 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
794         * configure: Regenerate.
796 2011-11-07  Kai Tietz  <ktietz@redhat.com>
798         PR target/51007
799         * quadmath-imp.h (ieee854_float128): Adjust
800         for ms-bitfield layout.
802 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
804         * printf/gmp-impl.h: Adapt path to longlong.h.
806 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
808         * Makefile.am (FLAGS_TO_PASS): Define.
809         * Makefile.in: Regenerate.
811 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
813         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
814         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
816 2011-04-03  Tobias Burnus  <burnus@net-b.de>
818         PR fortran/48311
819         * libquadmath.texi (strtoflt128): Fix typo.
820         (quadmath_snprintf): Move note up, make @item.
822 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
824         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
825         mempcpy.
827 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
829         PR bootstrap/48135
830         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
831         * configure: Regenerate.
833 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
835         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
836         that for size > 0 str is always zero terminated.
838 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
840         PR bootstrap/47827
841         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
843 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
845         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
846         FLT128_MAX_10_EXP): Document.
847         (strtoflt128): Remove obsolete comment.
848         * configure.ac (HAVE_STRTOULL): New check.
849         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
850         define.
851         * printf/mul_n.c: Include <config.h>.
852         * printf/add_n.c: Likewise.
853         * printf/cmp.c: Likewise.
854         * printf/fpioconst.c: Likewise.
855         * printf/mul_1.c: Likewise.
856         * printf/rshift.c: Likewise.
857         * printf/lshift.c: Likewise.
858         * printf/submul_1.c: Likewise.
859         * printf/sub_n.c: Likewise.
860         * printf/divrem.c: Likewise.
861         * printf/addmul_1.c: Likewise.
862         * printf/mul.c: Likewise.
863         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
864         to avoid evaluating argument multiple times.
865         (isxdigit): Redefine.
866         * strtod/strtoflt128.c: New file.
867         * strtod/strtod_l.c: New file.
868         * strtod/mpn2flt128.c: New file.
869         * strtod/grouping.h: New file.
870         * strtod/tens_in_limb.c: New file.
871         * gdtoa/arith.h: Removed.
872         * gdtoa/gd_qnan.h: Removed.
873         * gdtoa/gdtoa_fltrnds.h: Removed.
874         * gdtoa/gdtoa.h: Removed.
875         * gdtoa/gdtoaimp.h: Removed.
876         * gdtoa/gethex.c: Removed.
877         * gdtoa/gmisc.c: Removed.
878         * gdtoa/hd_init.c: Removed.
879         * gdtoa/hexnan.c: Removed.
880         * gdtoa/makefile: Removed.
881         * gdtoa/misc.c: Removed.
882         * gdtoa/README.gdtoa: Removed.
883         * gdtoa/smisc.c: Removed.
884         * gdtoa/strtodg.c: Removed.
885         * gdtoa/strtopQ.c: Removed.
886         * gdtoa/sum.c: Removed.
887         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
888         Define.
889         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
890         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
891         * config.h.in: Regenerated.
892         * configure: Regenerated.
893         * Makefile.in: Regenerated.
895 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
897         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
898         whether workarounds for printf hook handling should be added.
900         * configure.ac: Check for locale.h too.
901         (USE_LOCALE_SUPPORT): Remove check.
902         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
903         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
904         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
905         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
906         for wide version.
907         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
908         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
909         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
910         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
911         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
912         USE_I18N_NUMBER_H #ifdef.
913         * configure: Regenerated.
914         * config.h.in: Regenerated.
916 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
918         PR bootstrap/47736
919         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
920         user field.
921         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
922         field instead of setting individual fields to 0.  Don't set info.user
923         to -1.
924         * configure: Regenerated.
926         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
927         * printf/printf_fp.c: Don't include <alloca.h>.
928         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
929         * configure: Regenerated.
931         PR fortran/47642
932         * libquadmath.texi (quadmath_snprintf): Document.
933         (quadmath_flt128tostr): Remove.
934         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
935         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
936         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
937         * quadmath.h (quadmath_snprintf): New prototype.
938         (quadmath_flt128tostr): Remove.
939         * quadmath_weak.h (quadmath_snprintf): Add.
940         (quadmath_flt128tostr): Remove.
941         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
942         wctype.h, limits.h, ctype.h, printf.h, errno.h.
943         (AC_USE_SYSTEM_EXTENSIONS): Add.
944         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
945         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
946         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
947         quadmath_flt128tostr.
948         * printf/printf_fphex.c: New file.
949         * printf/_itowa.h: New file.
950         * printf/mul_n.c: New file.
951         * printf/quadmath-printf.h: New file.
952         * printf/submul_1.c: New file.
953         * printf/quadmath-printf.c: New file.
954         * printf/gmp-impl.h: New file.
955         * printf/lshift.c: New file.
956         * printf/fpioconst.h: New file.
957         * printf/add_n.c: New file.
958         * printf/cmp.c: New file.
959         * printf/sub_n.c: New file.
960         * printf/mul.c: New file.
961         * printf/divrem.c: New file.
962         * printf/addmul_1.c: New file.
963         * printf/printf_fp.c: New file.
964         * printf/_itoa.h: New file.
965         * printf/fpioconst.c: New file.
966         * printf/_i18n_number.h: New file.
967         * printf/flt1282mpn.c: New file.
968         * printf/rshift.c: New file.
969         * printf/mul_1.c: New file.
970         * quadmath_io.c: Removed.
971         * gdtoa/gdtoa.c: Removed.
972         * gdtoa/g__fmt.c: Removed.
973         * gdtoa/g_Qfmt.c: Removed.
974         * gdtoa/dmisc.c: Removed.
975         * gdtoa/ulp.c: Removed.
976         * config.h.in: Regenerated.
977         * configure: Regenerated.
978         * Makefile.in: Regenerated.
980 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
982         * Makefile.in: Regenerate.
983         * aclocal.m4: Likewise.
984         * configure: Likewise.
986 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
988         PR libquadmath/47293
989         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
990         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
992 2011-01-17  Tobias Burnus  <burnus@net-b.de>
994         PR fortran/47295
995         * libquadmath.text: Document typedef and constants.
997 2011-01-17  Tobias Burnus  <burnus@net-b.de>
999         PR fortran/46817
1000         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
1001         bump copyright year and use /**/ instead of // comments.
1002         * quadmath.h: Ditto.
1003         * quadmath-weak.h: Ditto.
1004         * quadmath_io.c: Ditto.
1006 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
1008         PR libfortran/47322
1009         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
1011         PR fortran/46625
1012         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
1013         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
1014         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
1015         (strtoflt128, quadmath_flt128tostr): Add.
1016         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
1017         (strtoflt128): ... this.  Return __float128, instead of writing
1018         to memory pointed by last argument.
1019         * quadmath.h: Use C style comments instead of C++ style.
1020         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
1021         (strtoflt128, quadmath_flt128tostr): Add prototypes.
1022         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
1023         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
1024         adjust examples.
1025         * quadmath_io.c (quadmath_dtoaq): Rename to...
1026         (quadmath_flt128tostr): ... this.
1028         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
1029         Use it for all prototypes.
1031         PR fortran/46416
1032         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
1033         const from prototype argument.
1034         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
1035         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
1036         (__quadmath_extern_inline): Define.
1037         (cimagq, conjq, crealq): New inlines.
1038         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
1039         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
1040         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
1041         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
1042         * Makefile.in: Regenerated.
1043         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
1044         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
1045         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
1046         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
1047         tests instead of __BIG_ENDIAN__.
1048         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
1049         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
1050         and remquoq.
1051         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
1052         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
1053         * math/cprojq.c: New file.
1054         * math/ilogbq.c: New file.
1055         * math/fminq.c: New file.
1056         * math/llrintq.c: New file.
1057         * math/log2q.c: New file.
1058         * math/lrintq.c: New file.
1059         * math/crealq.c: New file.
1060         * math/nearbyintq.c: New file.
1061         * math/fmaxq.c: New file.
1062         * math/conjq.c: New file.
1063         * math/remquoq.c: New file.
1064         * math/cimagq.c: New file.
1065         * math/fdimq.c: New file.
1067         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
1069         PR fortran/46416
1070         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
1071         New prototypes.
1072         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
1073         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
1074         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
1075         catanhq): Add.
1076         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
1077         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
1078         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
1079         catanq and catanhq.
1080         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
1081         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
1082         and math/catanhq.c.
1083         * Makefile.in: Regenerated.
1084         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
1085         catanq, catanhq): Add.
1086         * math/cacoshq.c: New file.
1087         * math/cacosq.c: New file.
1088         * math/catanq.c: New file.
1089         * math/catanhq.c: New file.
1090         * math/casinq.c: New file.
1091         * math/casinhq.c: New file.
1093         * math/hypotq.c (hypotq): Use Q suffix instead of L.
1094         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
1095         * math/cosq.c (cosq): Likewise.
1097         PR fortran/46402
1098         * quadmath.map (QUADMATH_1.0): Add fmaq.
1099         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
1100         feupdateenv, fesetenv and fetestexcept.
1101         * configure: Regenerated.
1102         * config.h.in: Regenerated.
1103         * quadmath.h (fmaq): New prototype.
1104         * quadmath_weak.h (fmaq): Add.
1105         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
1106         * Makefile.in: Regenerated.
1107         * quadmath-imp.h: Include config.h.
1108         * math/expq.c: Include fenv.h.
1109         (USE_FENV_H): Define if libm support for fe* is there.
1110         (expq): Add fesetround etc. support if USE_FENV_H is defined.
1111         * math/fmaq.c: New file.
1112         * libquadmath.texi (fmaq): Add.
1114 2011-01-14  Tobias Burnus  <burnus@net-b.de>
1116         PR fortran/47182
1117         * configure.ac: Use ACX_BUGURL.
1118         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
1119         * Makefile.am: Create libquadmath-vers.texi.
1120         * configure.in: Regenerate.
1121         * Makefile.in: Regenerate.
1123 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1125         PR fortran/47174
1126         * Makefile.am (libquadmath.info): Unconditionally override
1127         target, not only if BUILD_LIBQUADMATH.
1128         * Makefile.in: Regenerate.
1129         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
1130         avoid warning from automake.
1132 2010-12-19  Tobias Burnus  <burnus@net-b.de>
1134         PR fortran/46520
1135         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
1136         * configure: Regenerate
1138 2010-12-13  Tobias Burnus  <burnus@net-b.de>
1140         PR fortran/46625
1141         * gdtoa/gdtoaimp.h: Mangle internal functions by
1142         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
1143         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
1144         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
1145         if NO_STRING_H is set.
1146         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
1147         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
1148         __quadmath prefix to internal functions.
1149         * math/cosq.c (cosq): Ditto.
1150         * math/sinq.c (cosq): Ditto.
1151         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
1152         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
1153         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
1154         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
1156 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1158         PR fortran/46772
1159         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
1160         * gdtoa/gdtoaimp.h: Don't declare strtod.
1162 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1164         PR fortran/46520
1165         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
1166         AC_TRY_LINK and cache libquad_have_float128.
1167         * configure: Regenerate.
1169 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1171         PR fortran/46543
1172         * configure.ac: Add texinfo checks.
1173         * Makefile.am: Handle .texi documentation.
1174         * libquadmath.texi: New.
1175         * configure: Regenerated.
1176         * Makefile.in: Regenerated.
1178 2010-12-06  Tobias Burnus  <burnus@net-b.de>
1180         PR fortran/46817
1181         * quadmath-imp.h: Add LGPL header.
1182         * quadmath.h: Add LGPL header.
1183         * quadmath_io.c: Add LGPL header.
1184         * quadmath_weak.h: Add LGPL header.
1186 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1188         PR target/40125
1189         PR lto/46695
1190         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
1191         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
1192         * aclocal.m4: Regenerate.
1193         * configure: Regenerate.
1194         * Makefile.in: Regenerate.
1196 2010-11-30  Tobias Burnus  <burnus@net-b.de>
1198         PR fortran/46594
1199         * Makefile.am: Install include files in
1200         target/version specific directory.
1201         * Makefile.in: Regenerate.
1203 2010-11-30  Tobias Burnus  <burnus@net-b.de>
1205         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
1206         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
1207         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
1209 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
1211         * configure: Regenerated.
1212         * Makefile.in: Regenerated.
1213         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
1214         (target_alias): Use AC_SUBST for it.
1215         (GCC_NO_EXECUTABLES): Call it.
1216         (AC_PROG_CC): Improve multilib handling.
1217         Check that gcc is used for compilation.
1218         Use pattern from libssp for symbol versioning checking.
1219         * Makefile.am (LTLDFLAGS): Removed.
1220         (libquadmath_la_LDFLAGS): Add -no-undefined.
1221         (libquadmath_la_LINK): Commented out.
1222         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
1223         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
1224         (MAKEOVERRIDES): New.
1225         * aclocal.m4: Regenerated.
1227 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1229         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
1230         (libquadmath_la_LDFLAGS): ... here.
1231         (quadmath.map-sun): Tabify.
1232         Fix sed expression.
1233         * Makefile.in: Regenerate.
1235 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1236             Tobias Burnus  <burnus@net-b.de>
1238         PR fortran/32049
1239         Initial implementation and checkin.
1241 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1243 Copying and distribution of this file, with or without modification,
1244 are permitted in any medium without royalty provided the copyright
1245 notice and this notice are preserved.