hppa: Really fix g++.dg/modules/bad-mapper-1.C on hpux
[official-gcc.git] / libquadmath / ChangeLog
blobe449028fc0003a54e3c06dec58ad93408d42162a
1 2023-10-23  Iain Sandoe  <iain@sandoe.co.uk>
3         PR libquadmath/111928
4         * Makefile.in: Regenerate.
5         * configure: Regenerate.
6         * configure.ac: Remove AC_CHECK_LIBM.
8 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
10         * Makefile.am: Handle Darwin rpaths.
11         * Makefile.in: Regenerate.
12         * configure: Regenerate.
13         * configure.ac: Handle Darwin rpaths.
15 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
17         * configure: Regenerate.
19 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
21         * configure: Regenerate.
23 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
25         * configure: Regenerate.
27 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
29         * configure: Regenerate.
31 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
33         * configure: Regenerate.
35 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
37         * configure: Regenerate.
39 2023-03-02  niXman  <i.nixman@autistici.org>
40             Jakub Jelinek  <jakub@redhat.com>
42         PR libquadmath/87204
43         PR libquadmath/94756
44         * printf/gmp-impl.h (mp_limb_t, mp_limb_signed_t, BITS_PER_MP_LIMB):
45         Use 64-bit limbs on LLP64 targets.
46         * strtod/strtod_l.c (round_and_return): Cherry-pick glibc
47         9310c284ae9 BZ #16151, 4406c41c1d6 BZ #16965 and fcd6b5ac36a
48         BZ #23279 fixes.
49         (____STRTOF_INTERNAL): Cherry-pick glibc b0debe14fcf BZ #23007,
50         5556d30caee BZ #18247, 09555b9721d and c6aac3bf366 BZ #26137 and
51         d84f25c7d87 fixes.
53 2023-01-02  Jakub Jelinek  <jakub@redhat.com>
55         * libquadmath.texi: Bump @copying's copyright year.
57 2022-11-14  Martin Liska  <mliska@suse.cz>
59         Revert:
60         2022-11-14  Martin Liska  <mliska@suse.cz>
62         * doc/conf.py: New file.
63         * doc/copyright.rst: New file.
64         * doc/gnu-free-documentation-license.rst: New file.
65         * doc/i-o-library-routines.rst: New file.
66         * doc/index.rst: New file.
67         * doc/indices-and-tables.rst: New file.
68         * doc/introduction.rst: New file.
69         * doc/math-library-routines.rst: New file.
70         * doc/quadmathsnprintf.rst: New file.
71         * doc/reporting-bugs.rst: New file.
72         * doc/strtoflt128.rst: New file.
73         * doc/typedef-and-constants.rst: New file.
75 2022-11-14  Martin Liska  <mliska@suse.cz>
77         Revert:
78         2022-11-14  Martin Liska  <mliska@suse.cz>
80         * Makefile.in: Support Sphinx based documentation.
82 2022-11-14  Martin Liska  <mliska@suse.cz>
84         Revert:
85         2022-11-14  Martin Liska  <mliska@suse.cz>
87         * libquadmath.texi: Removed.
89 2022-11-14  Martin Liska  <mliska@suse.cz>
91         Revert:
92         2022-11-14  Martin Liska  <mliska@suse.cz>
94         * Makefile.in: Support --with-sphinx-build.
95         * configure.ac: Likewise.
96         * configure: Regenerate.
98 2022-11-14  Martin Liska  <mliska@suse.cz>
100         Revert:
101         2022-11-14  Martin Liska  <mliska@suse.cz>
103         * Makefile.in: Build info pages conditionally.
105 2022-11-14  Martin Liska  <mliska@suse.cz>
107         Revert:
108         2022-11-14  Martin Liska  <mliska@suse.cz>
110         * doc/copyright.rst:
111         Add trailing newline.
112         * doc/gnu-free-documentation-license.rst:
113         Add trailing newline.
114         * doc/i-o-library-routines.rst:
115         Add trailing newline.
116         * doc/index.rst:
117         Add trailing newline.
118         * doc/indices-and-tables.rst:
119         Add trailing newline.
120         * doc/introduction.rst:
121         Add trailing newline.
122         * doc/math-library-routines.rst:
123         Add trailing newline.
124         * doc/quadmathsnprintf.rst:
125         Add trailing newline.
126         * doc/reporting-bugs.rst:
127         Add trailing newline.
128         * doc/strtoflt128.rst:
129         Add trailing newline.
130         * doc/typedef-and-constants.rst:
131         Add trailing newline.
133 2022-11-14  Martin Liska  <mliska@suse.cz>
135         Revert:
136         2022-11-14  Martin Liska  <mliska@suse.cz>
138         * Makefile.in: Add missing HAS_SPHINX_BUILD.
140 2022-11-14  Martin Liska  <mliska@suse.cz>
142         Revert:
143         2022-11-14  Martin Liska  <mliska@suse.cz>
145         * doc/conf.py: Add newline at last line.
147 2022-11-14  Martin Liska  <mliska@suse.cz>
149         Revert:
150         2022-11-14  Martin Liska  <mliska@suse.cz>
152         PR other/107620
153         * configure: Regenerate.
154         * configure.ac: Always set sphinx-build.
156 2022-11-13  Martin Liska  <mliska@suse.cz>
158         PR other/107620
159         * configure: Regenerate.
160         * configure.ac: Always set sphinx-build.
162 2022-11-10  Martin Liska  <mliska@suse.cz>
164         * doc/conf.py: Add newline at last line.
166 2022-11-09  Martin Liska  <mliska@suse.cz>
168         * Makefile.in: Add missing HAS_SPHINX_BUILD.
170 2022-11-09  Martin Liska  <mliska@suse.cz>
172         * doc/copyright.rst:
173         Add trailing newline.
174         * doc/gnu-free-documentation-license.rst:
175         Add trailing newline.
176         * doc/i-o-library-routines.rst:
177         Add trailing newline.
178         * doc/index.rst:
179         Add trailing newline.
180         * doc/indices-and-tables.rst:
181         Add trailing newline.
182         * doc/introduction.rst:
183         Add trailing newline.
184         * doc/math-library-routines.rst:
185         Add trailing newline.
186         * doc/quadmathsnprintf.rst:
187         Add trailing newline.
188         * doc/reporting-bugs.rst:
189         Add trailing newline.
190         * doc/strtoflt128.rst:
191         Add trailing newline.
192         * doc/typedef-and-constants.rst:
193         Add trailing newline.
195 2022-11-09  Martin Liska  <mliska@suse.cz>
197         * Makefile.in: Build info pages conditionally.
199 2022-11-09  Martin Liska  <mliska@suse.cz>
201         * Makefile.in: Support --with-sphinx-build.
202         * configure.ac: Likewise.
203         * configure: Regenerate.
205 2022-11-09  Martin Liska  <mliska@suse.cz>
207         * libquadmath.texi: Removed.
209 2022-11-09  Martin Liska  <mliska@suse.cz>
211         * Makefile.in: Support Sphinx based documentation.
213 2022-11-09  Martin Liska  <mliska@suse.cz>
215         * doc/conf.py: New file.
216         * doc/copyright.rst: New file.
217         * doc/gnu-free-documentation-license.rst: New file.
218         * doc/i-o-library-routines.rst: New file.
219         * doc/index.rst: New file.
220         * doc/indices-and-tables.rst: New file.
221         * doc/introduction.rst: New file.
222         * doc/math-library-routines.rst: New file.
223         * doc/quadmathsnprintf.rst: New file.
224         * doc/reporting-bugs.rst: New file.
225         * doc/strtoflt128.rst: New file.
226         * doc/typedef-and-constants.rst: New file.
228 2022-10-12  Martin Liska  <mliska@suse.cz>
230         * configure: Regenerate.
232 2022-10-11  Olivier Hainque  <hainque@adacore.com>
233             Olivier Hainque  <hainque@adacore.com>
235         * configure: Regenerate.
237 2022-08-25  Martin Liska  <mliska@suse.cz>
239         * configure: Regenerate.
241 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
243         * configure.ac: Set XCFLAGS to -mno-gnu-attribute on
244         powerpc64le*-linux*.
245         * configure: Regenerated.
247 2022-01-03  Jakub Jelinek  <jakub@redhat.com>
249         * libquadmath.texi: Bump @copying's copyright year.
251 2021-06-08  Martin Liska  <mliska@suse.cz>
253         * libquadmath.texi: Fix typo.
255 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
257         * configure: Re-generate.
259 2021-01-01  Jakub Jelinek  <jakub@redhat.com>
261         * libquadmath.texi: Bump @copying's copyright year.
263 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
265         PR target/97865
266         * configure: Regenerate.
268 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
270         * configure: Regenerate.
272 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
274         PR bootstrap/95413
275         * configure: Regenerated.
277 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
279         PR bootstrap/95147
280         * configure: Regenerated.
282 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
284         * configure: Regenerated.
286 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
288         PR libstdc++/79193
289         PR libstdc++/88999
291         * configure: Regenerated.
293 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
295         * configure.ac: Handle `--with-toolexeclibdir='.
296         * Makefile.in: Regenerate.
297         * aclocal.m4: Regenerate.
298         * configure: Regenerate.
300 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
302         Update copyright years.
304         * libquadmath.texi: Bump @copying's copyright year.
306 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
308         * configure: Regenerate.
310 2019-08-02  Jakub Jelinek  <jakub@redhat.com>
312         * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
313         M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
314         M_SQRT1_2q): Use two more decimal places.
316 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
318         Update copyright years.
320         * libquadmath.texi: Bump @copying's copyright year.
322 2018-12-11  Jakub Jelinek  <jakub@redhat.com>
324         PR c/88430
325         * quadmath_weak.h (__qmath2): Add __quadmath_throw.
327 2018-11-07  Joseph Myers  <joseph@codesourcery.com>
329         * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
330         mantissa2 and mantissa3 fields instead of mant_high and mant_low.
331         Change nan field to ieee_nan.
332         * update-quadmath.py (update_sources): Also update fmaq.c.
333         * math/nanq.c (nanq): Use ieee_nan field of union.
334         Zero-initialize f.  Set quiet_nan field.
335         * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
336         strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
337         mantissa3 fields.  Use ieee_nan and quiet_nan field.
338         * math/fmaq.c: Regenerate from glibc sources with
339         update-quadmath.py.
341 2018-11-05  Joseph Myers  <joseph@codesourcery.com>
343         PR libquadmath/68686
344         * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
345         Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
346         math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
347         math/casinhq_kernel.c.
348         * Makefile.in: Regenerate.
349         * libquadmath.texi (exp2q, issignalingq): Document.
350         * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
351         <fenv.h>.
352         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
353         (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
354         (__quadmath_gamma_productq, __quadmath_gammaq_r)
355         (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
356         (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
357         (math_check_force_underflow_complex, __glibc_likely)
358         (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
359         (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
360         (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
361         (fesetenv, fetestexcept, feclearexcept): Define if not supported
362         through <fenv.h>.
363         (__quadmath_isinf_nsq): Remove.
364         * quadmath.h (exp2q, issignalingq): New.
365         * quadmath.map (QUADMATH_1.2): New.
366         * quadmath_weak.h (exp2q, issignalingq): New.
367         * update-quadmath.py: New file.
368         * math/isinf_nsq.c: Remove file.
369         * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
370         math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
371         math/tanq_kernel.c, math/tgammaq_product.c: New files.  Generated
372         from glibc sources with update-quadmath.py.
373         * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
374         math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
375         math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
376         math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
377         math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
378         math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
379         math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
380         math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
381         math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
382         math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
383         math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
384         math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
385         math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
386         math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
387         math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
388         math/lroundq.c, math/modfq.c, math/nearbyintq.c,
389         math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
390         math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
391         math/signbitq.c, math/sincos_table.c, math/sincosq.c,
392         math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
393         math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
394         math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
395         update-quadmath.py.
397 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
399         PR bootstrap/82856
400         * Makefile.am: Include multilib.am.
401         (AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
402         (all-local): Define outside conditional code.
403         (CLEANFILES): Remove libquadmath.info.
404         * configure.ac: Remove AC_PREREQ.
405         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
407 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
409         * configure: Regenerated.
411 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
413         * configure: Regenerated.
415 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
417         PR jit/85384
418         * configure: Regenerate.
420 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
422         PR target/84148
423         * configure: Regenerate.
425 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
427         * libquadmath.texi: Bump @copying's copyright year.
429 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
431         * Makefile.am: Update AM_CFLAGS.
432         * Makefile.in: Regenerate:
433         * acinclude.m4: Add enable.m4 and cet.m4.
434         * configure: Regenerate.
435         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
437 2017-11-05  Tom de Vries  <tom@codesourcery.com>
439         PR other/82784
440         * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
441         "do {} while (0)".
443 2017-09-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
445         PR libquadmath/81848
446         * configure.ac (powerpc*-linux*): Use attribute mode KC to create
447         complex __float128 on PowerPC instead of attribute mode TC.
448         * quadmath.h (__complex128): Likewise.
449         * configure: Regenerate.
450         * math/cbrtq.c (CBRT2): Use __float128 not long double.
451         (CBRT4): Likewise.
452         (CBRT2I): Likewise.
453         (CBRT4I): Likewise.
454         * math/j0q.c (U0): Likewise.
455         * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
456         between __float128, instead explicitly convert the __float128
457         value to long double because the PowerPC does not allow __float128
458         and long double in the same expression.
460 2017-07-19  Gerald Pfeifer  <gerald@pfeifer.com>
462         * math/powq.c (powq): Use uint32_t instead of u_int32_t.
464 2017-07-19  Jakub Jelinek  <jakub@redhat.com>
466         PR libquadmath/65757
467         * quadmath-imp.h (math_opt_barrier, math_force_eval,
468         math_narrow_eval, math_check_force_underflow,
469         math_check_force_underflow_nonneg): Define.
470         * math/ceilq.c: Backport changes from upstream glibc
471         between 2012-11-01 and 2017-07-13.
472         * math/remquoq.c: Likewise.
473         * math/expq.c: Likewise.
474         * math/llroundq.c: Likewise.
475         * math/logq.c: Likewise.
476         * math/atanq.c: Likewise.
477         * math/nearbyintq.c: Likewise.
478         * math/scalblnq.c: Likewise.
479         * math/finiteq.c: Likewise.
480         * math/atanhq.c: Likewise.
481         * math/expm1q.c: Likewise.
482         * math/sinhq.c: Likewise.
483         * math/log10q.c: Likewise.
484         * math/rintq.c: Likewise.
485         * math/roundq.c: Likewise.
486         * math/fmaq.c: Likewise.
487         * math/erfq.c: Likewise.
488         * math/log2q.c: Likewise.
489         * math/lroundq.c: Likewise.
490         * math/j1q.c: Likewise.
491         * math/scalbnq.c: Likewise.
492         * math/truncq.c: Likewise.
493         * math/frexpq.c: Likewise.
494         * math/sincosq.c: Likewise.
495         * math/tanhq.c: Likewise.
496         * math/asinq.c: Likewise.
497         * math/coshq.c: Likewise.
498         * math/j0q.c: Likewise.
499         * math/asinhq.c: Likewise.
500         * math/floorq.c: Likewise.
501         * math/sinq_kernel.c: Likewise.
502         * math/powq.c: Likewise.
503         * math/hypotq.c: Likewise.
504         * math/sincos_table.c: Likewise.
505         * math/rem_pio2q.c: Likewise.
506         * math/nextafterq.c: Likewise.
507         * math/log1pq.c: Likewise.
508         * math/sincosq_kernel.c: Likewise.
509         * math/tanq.c: Likewise.
510         * math/acosq.c: Likewise.
511         * math/lrintq.c: Likewise.
512         * math/llrintq.c: Likewise.
514 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
516         * configure.ac (ACX_BUGURL): Update.
517         * configure: Regenerate.
519 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
521         PR other/79046
522         * configure.ac: Add GCC_BASE_VER.
523         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
524         get version from BASE-VER file.
525         * configure: Regenerated.
526         * Makefile.in: Regenerated.
528 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
530         * libquadmath.texi: Bump @copying's copyright year.
532 2016-11-15  Matthias Klose  <doko@ubuntu.com>
534         * configure: Regenerate.
536 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
538         * libquadmath.texi: Bump @copying's copyright year.
540 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
542         * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
543         * Makefile.in: Regenerate.
544         * libquadmath.texi: Document logbq.
545         * quadmath.h: Add logbq prototype.
546         * quadmath.map: Add logbq.
547         * quadmath_weak.h: Add logbq prototype.
548         * math/logbq.c: New file
550 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
552         * Makefile.in: Regenerated with automake-1.11.6.
553         * aclocal.m4: Likewise.
554         * configure: Likewise.
556 2015-01-26  Matthias Klose  <doko@ubuntu.com>
558         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
559         * configure: Regenerate.
561 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
563         * libquadmath.texi: Bump @copying's copyright year.
565 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
567         PR bootstrap/63784
568         * configure: Regenerated.
570 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
572         PR target/63610
573         * configure: Regenerate.
575 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
577         PR libquadmath/55821
578         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
579         * Makefile.in: Regenerate.
581 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
583         PR libquadmath/55821
584         * Makefile.am: Conditionally define info_TEXINFOS and
585         libquadmath_TEXINFOS.
586         * Makefile.in: Regenerate.
588 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
590         PR libquadmath/63487
591         * libquadmath.texi (sincosq): Fix typo.
593 2014-01-02  Tobias Burnus  <burnus@net-b.de>
595         * libquadmath.texi: Bump @copying's copyright year.
597 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
599         * Makefile.am (AM_CPPFLAGS): Define.
600         * Makefile.in: Regenerate.
601         * printf/gmp-impl.h: Remove path from longlong.h include.
603 2013-09-20  Alan Modra  <amodra@gmail.com>
605         * configure: Regenerate.
607 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
609         PR libquadmath/55473
610         * quadmath.h: Add 'extern "C"' block for C++ use.
612 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
614         PR libquadmath/56379
615         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
616         macro.
618 2013-02-17  Tobias Burnus  <burnus@net-b.de>
620         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
622 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
624         Revert previous patch.
626 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
628         Update copyright years.
630 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
632         PR libquadmath/56072
633         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
635 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
637         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
638         instead of L suffixed ones.
639         * math/fmaq.c (fmaq): Likewise.
640         * math/rintq.c (TWO112): Likewise.
642 2012-12-03  Tobias Burnus  <burnus@net-b.de>
644         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
645         reading.
647 2012-11-25  Tobias Burnus  <burnus@net-b.de>
649         PR libquadmath/55462
650         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
651         instead of nonexisting HAVE_GET_ROUNDING_MODE.
653 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
655         PR bootstrap/55455
656         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
657         void to fegetround.
659 2012-11-23  Tobias Burnus  <burnus@net-b.de>
660             Joseph Myers  <joseph@codesourcery.com>
662         * quadmath-rounding-mode.h: New.
663         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
664         * printf/fpioconst.h: Ditto.
665         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
666         Make printf respect the rounding mode for decimal output.
667         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
668         GLIBC.  Make printf respect the rounding mode for hex output.
669         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
670         rounding mode. Fix strtod handling of underflow.
672 2012-11-22  David S. Miller  <davem@davemloft.net>
673             Tobias Burnus  <burnus@net-b.de>
674             Joseph Myers  <joseph@codesourcery.com>
676         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
677         very large arguments properly.
678         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
679         underflow when 'x' is very small.
680         * math/j1q.c (y1q): Ditto.
681         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
682         nonzero exponents with absolute value below 0x1p-128 to
683         +/- 0x1p-128.
684         * math/powq.c (powq): Update from GLIBC. If xm1 is
685         smaller than LDBL_EPSILON/2.0L, just return xm1.
687 2012-11-21  Tobias Burnus  <burnus@net-b.de>
689         PR libquadmath/55225
690         * math/lgammaq.c (lgammaq): Use local variable if
691         math.h does not provide signgam.
692         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
693         * configure.ac: Use it.
694         * configure: Regenerate.
695         * config.h.in: Regenerate.
697 2012-11-15  Tobias Burnus  <burnus@net-b.de>
698             Joseph Myers  <joseph@codesourcery.com>
700         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
701         underflows with small x * y; Fix overflow results
702         outside round-to-nearest mode; make use of Dekker
703         and Knuth algorithms use round-to-nearest.
705 2012-11-01  Tobias Burnus  <burnus@net-b.de>
707         * math/fmaq.c (fmaq): Fix build.
709 2012-11-01  Tobias Burnus  <burnus@net-b.de>
710             Joseph Myers  <joseph@codesourcery.com>
712         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
713         with small x * y using scaling, not as x * y + z.
714         * math/lgammaq.c (lgammaq): Fix signgam handling.
716 2012-11-01  Tobias Burnus  <burnus@net-b.de>
718         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
719         * Makefile.in: Regenerated.
720         * math/acoshq.c: Update comment.
721         * math/acosq.c: Ditto.
722         * math/asinhq.c: Ditto.
723         * math/asinq.c: Ditto.
724         * math/atan2q.c: Ditto.
725         * math/atanhq.c: Ditto.
726         * math/ceilq.c: Ditto.
727         * math/copysignq.c: Ditto.
728         * math/cosq.c: Ditto.
729         * math/coshq.c: Ditto.
730         * math/erfq.c: Ditto.
731         * math/fabsq.c: Ditto.
732         * math/finiteq.c: Ditto.
733         * math/floorq.c: Ditto.
734         * math/fmodq.c: Ditto.
735         * math/frexpq.c: Ditto.
736         * math/isnanq.c: Ditto.
737         * math/j0q.c: Ditto.
738         * math/j1q.c: Ditto.
739         * math/ldexpq.c: Ditto.
740         * math/llroundq.c: Ditto.
741         * math/log10q.c: Ditto.
742         * math/log1pq.c: Ditto.
743         * math/log2q.c: Ditto.
744         * math/logq.c: Ditto.
745         * math/lroundq.c: Ditto.
746         * math/modfq.c: Ditto.
747         * math/nextafterq.c: Ditto.
748         * math/powq.c: Ditto.
749         * math/rem_pio2q.c: Ditto.
750         * math/remainderq.c: Ditto.
751         * math/rintq.c: Ditto.
752         * math/roundq.c: Ditto.
753         * math/scalblnq.c: Ditto.
754         * math/scalbnq.c: Ditto.
755         * math/sincosq_kernel.c: Ditto.
756         * math/sinq.c: Ditto.
757         * math/tanq.c: Ditto.
758         * math/expq.c: Ditto.
759         (__expq_table, expq): Renamed local array from __expl_table.
760         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
761         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
762         * math/casinhq.c: Changes from GLIBC to fix special-case.
763         * math/cbrtq.c: Use modified GLIBC version.
764         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
765         ctanhq, ctanq): Moved to separates files.
766         (mult_c128, div_c128): Removed no longer needed functions.
767         (cexpiq): Call sincosq instead of sinq and cosq.
768         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
769         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
770         modified based on GLIBC.
771         * math/cexpq.c (cexp): Ditto.
772         * math/clog10q.c (clog10q): Ditto.
773         * math/clogq.c (clogq): Ditto.
774         * math/csinhq.c: Ditto.
775         * math/csinq.c: Ditto.
776         * math/csqrtq.c: Ditto.
777         * math/ctanhq.c: Ditto.
778         * math/ctanq.c: Ditto.
779         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
780         from GLIBC.
781         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
782         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
783         from GLIBC.
784         * math/lgammaq.c (lgammaq): Add signgam handling.
785         * math/sinhq.c (sinhq): Fix sign handling.
786         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
787         * math/tgammaq.c (tgammaq): Ditto.
788         * math/x2y2m1q.c: New file.
789         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
790         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
792 2012-10-31  Tobias Burnus  <burnus@net-b.de>
793             Joseph Myers <joseph@codesourcery.com>
794             David S. Miller <davem@davemloft.net>
795             Ulrich Drepper <drepper@redhat.com>
796             Marek Polacek <polacek@redhat.com>:
797             Petr Baudis <pasky@suse.cz>
799         * math/complex.c (csqrtq): NaN and INF fixes. 
800         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
801         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
802         large parameters. Fix errno for boundary conditions.
803         * math/finiteq.c (finiteq): Add comment.
804         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
805         and bad results for some subnormal results. Fix sign of inexact
806         zero return. Fix sign of exact zero return. 
807         Ensure additions are not scheduled after fetestexcept.
808         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
809         for ynq. Fix jnq precision.
810         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
811         manipulate bits before adding and subtracting TWO112[sx].
812         * math/rintq.c (rintq): Ditto.
813         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
814         overflow.
816 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
818         * configure: Regenerated.
820 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
822         PR libstdc++/51007
823         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
824         * configure: Regenerated.
826 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
828         * configure: Regenerated.
830 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
832         * configure: Regenerate.
834 2011-11-07  Kai Tietz  <ktietz@redhat.com>
836         PR target/51007
837         * quadmath-imp.h (ieee854_float128): Adjust
838         for ms-bitfield layout.
840 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
842         * printf/gmp-impl.h: Adapt path to longlong.h.
844 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
846         * Makefile.am (FLAGS_TO_PASS): Define.
847         * Makefile.in: Regenerate.
849 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
851         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
852         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
854 2011-04-03  Tobias Burnus  <burnus@net-b.de>
856         PR fortran/48311
857         * libquadmath.texi (strtoflt128): Fix typo.
858         (quadmath_snprintf): Move note up, make @item.
860 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
862         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
863         mempcpy.
865 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
867         PR bootstrap/48135
868         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
869         * configure: Regenerate.
871 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
873         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
874         that for size > 0 str is always zero terminated.
876 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
878         PR bootstrap/47827
879         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
881 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
883         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
884         FLT128_MAX_10_EXP): Document.
885         (strtoflt128): Remove obsolete comment.
886         * configure.ac (HAVE_STRTOULL): New check.
887         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
888         define.
889         * printf/mul_n.c: Include <config.h>.
890         * printf/add_n.c: Likewise.
891         * printf/cmp.c: Likewise.
892         * printf/fpioconst.c: Likewise.
893         * printf/mul_1.c: Likewise.
894         * printf/rshift.c: Likewise.
895         * printf/lshift.c: Likewise.
896         * printf/submul_1.c: Likewise.
897         * printf/sub_n.c: Likewise.
898         * printf/divrem.c: Likewise.
899         * printf/addmul_1.c: Likewise.
900         * printf/mul.c: Likewise.
901         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
902         to avoid evaluating argument multiple times.
903         (isxdigit): Redefine.
904         * strtod/strtoflt128.c: New file.
905         * strtod/strtod_l.c: New file.
906         * strtod/mpn2flt128.c: New file.
907         * strtod/grouping.h: New file.
908         * strtod/tens_in_limb.c: New file.
909         * gdtoa/arith.h: Removed.
910         * gdtoa/gd_qnan.h: Removed.
911         * gdtoa/gdtoa_fltrnds.h: Removed.
912         * gdtoa/gdtoa.h: Removed.
913         * gdtoa/gdtoaimp.h: Removed.
914         * gdtoa/gethex.c: Removed.
915         * gdtoa/gmisc.c: Removed.
916         * gdtoa/hd_init.c: Removed.
917         * gdtoa/hexnan.c: Removed.
918         * gdtoa/makefile: Removed.
919         * gdtoa/misc.c: Removed.
920         * gdtoa/README.gdtoa: Removed.
921         * gdtoa/smisc.c: Removed.
922         * gdtoa/strtodg.c: Removed.
923         * gdtoa/strtopQ.c: Removed.
924         * gdtoa/sum.c: Removed.
925         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
926         Define.
927         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
928         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
929         * config.h.in: Regenerated.
930         * configure: Regenerated.
931         * Makefile.in: Regenerated.
933 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
935         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
936         whether workarounds for printf hook handling should be added.
938         * configure.ac: Check for locale.h too.
939         (USE_LOCALE_SUPPORT): Remove check.
940         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
941         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
942         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
943         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
944         for wide version.
945         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
946         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
947         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
948         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
949         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
950         USE_I18N_NUMBER_H #ifdef.
951         * configure: Regenerated.
952         * config.h.in: Regenerated.
954 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
956         PR bootstrap/47736
957         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
958         user field.
959         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
960         field instead of setting individual fields to 0.  Don't set info.user
961         to -1.
962         * configure: Regenerated.
964         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
965         * printf/printf_fp.c: Don't include <alloca.h>.
966         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
967         * configure: Regenerated.
969         PR fortran/47642
970         * libquadmath.texi (quadmath_snprintf): Document.
971         (quadmath_flt128tostr): Remove.
972         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
973         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
974         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
975         * quadmath.h (quadmath_snprintf): New prototype.
976         (quadmath_flt128tostr): Remove.
977         * quadmath_weak.h (quadmath_snprintf): Add.
978         (quadmath_flt128tostr): Remove.
979         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
980         wctype.h, limits.h, ctype.h, printf.h, errno.h.
981         (AC_USE_SYSTEM_EXTENSIONS): Add.
982         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
983         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
984         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
985         quadmath_flt128tostr.
986         * printf/printf_fphex.c: New file.
987         * printf/_itowa.h: New file.
988         * printf/mul_n.c: New file.
989         * printf/quadmath-printf.h: New file.
990         * printf/submul_1.c: New file.
991         * printf/quadmath-printf.c: New file.
992         * printf/gmp-impl.h: New file.
993         * printf/lshift.c: New file.
994         * printf/fpioconst.h: New file.
995         * printf/add_n.c: New file.
996         * printf/cmp.c: New file.
997         * printf/sub_n.c: New file.
998         * printf/mul.c: New file.
999         * printf/divrem.c: New file.
1000         * printf/addmul_1.c: New file.
1001         * printf/printf_fp.c: New file.
1002         * printf/_itoa.h: New file.
1003         * printf/fpioconst.c: New file.
1004         * printf/_i18n_number.h: New file.
1005         * printf/flt1282mpn.c: New file.
1006         * printf/rshift.c: New file.
1007         * printf/mul_1.c: New file.
1008         * quadmath_io.c: Removed.
1009         * gdtoa/gdtoa.c: Removed.
1010         * gdtoa/g__fmt.c: Removed.
1011         * gdtoa/g_Qfmt.c: Removed.
1012         * gdtoa/dmisc.c: Removed.
1013         * gdtoa/ulp.c: Removed.
1014         * config.h.in: Regenerated.
1015         * configure: Regenerated.
1016         * Makefile.in: Regenerated.
1018 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1020         * Makefile.in: Regenerate.
1021         * aclocal.m4: Likewise.
1022         * configure: Likewise.
1024 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1026         PR libquadmath/47293
1027         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
1028         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
1030 2011-01-17  Tobias Burnus  <burnus@net-b.de>
1032         PR fortran/47295
1033         * libquadmath.text: Document typedef and constants.
1035 2011-01-17  Tobias Burnus  <burnus@net-b.de>
1037         PR fortran/46817
1038         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
1039         bump copyright year and use /**/ instead of // comments.
1040         * quadmath.h: Ditto.
1041         * quadmath-weak.h: Ditto.
1042         * quadmath_io.c: Ditto.
1044 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
1046         PR libfortran/47322
1047         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
1049         PR fortran/46625
1050         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
1051         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
1052         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
1053         (strtoflt128, quadmath_flt128tostr): Add.
1054         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
1055         (strtoflt128): ... this.  Return __float128, instead of writing
1056         to memory pointed by last argument.
1057         * quadmath.h: Use C style comments instead of C++ style.
1058         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
1059         (strtoflt128, quadmath_flt128tostr): Add prototypes.
1060         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
1061         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
1062         adjust examples.
1063         * quadmath_io.c (quadmath_dtoaq): Rename to...
1064         (quadmath_flt128tostr): ... this.
1066         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
1067         Use it for all prototypes.
1069         PR fortran/46416
1070         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
1071         const from prototype argument.
1072         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
1073         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
1074         (__quadmath_extern_inline): Define.
1075         (cimagq, conjq, crealq): New inlines.
1076         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
1077         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
1078         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
1079         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
1080         * Makefile.in: Regenerated.
1081         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
1082         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
1083         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
1084         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
1085         tests instead of __BIG_ENDIAN__.
1086         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
1087         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
1088         and remquoq.
1089         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
1090         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
1091         * math/cprojq.c: New file.
1092         * math/ilogbq.c: New file.
1093         * math/fminq.c: New file.
1094         * math/llrintq.c: New file.
1095         * math/log2q.c: New file.
1096         * math/lrintq.c: New file.
1097         * math/crealq.c: New file.
1098         * math/nearbyintq.c: New file.
1099         * math/fmaxq.c: New file.
1100         * math/conjq.c: New file.
1101         * math/remquoq.c: New file.
1102         * math/cimagq.c: New file.
1103         * math/fdimq.c: New file.
1105         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
1107         PR fortran/46416
1108         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
1109         New prototypes.
1110         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
1111         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
1112         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
1113         catanhq): Add.
1114         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
1115         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
1116         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
1117         catanq and catanhq.
1118         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
1119         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
1120         and math/catanhq.c.
1121         * Makefile.in: Regenerated.
1122         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
1123         catanq, catanhq): Add.
1124         * math/cacoshq.c: New file.
1125         * math/cacosq.c: New file.
1126         * math/catanq.c: New file.
1127         * math/catanhq.c: New file.
1128         * math/casinq.c: New file.
1129         * math/casinhq.c: New file.
1131         * math/hypotq.c (hypotq): Use Q suffix instead of L.
1132         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
1133         * math/cosq.c (cosq): Likewise.
1135         PR fortran/46402
1136         * quadmath.map (QUADMATH_1.0): Add fmaq.
1137         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
1138         feupdateenv, fesetenv and fetestexcept.
1139         * configure: Regenerated.
1140         * config.h.in: Regenerated.
1141         * quadmath.h (fmaq): New prototype.
1142         * quadmath_weak.h (fmaq): Add.
1143         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
1144         * Makefile.in: Regenerated.
1145         * quadmath-imp.h: Include config.h.
1146         * math/expq.c: Include fenv.h.
1147         (USE_FENV_H): Define if libm support for fe* is there.
1148         (expq): Add fesetround etc. support if USE_FENV_H is defined.
1149         * math/fmaq.c: New file.
1150         * libquadmath.texi (fmaq): Add.
1152 2011-01-14  Tobias Burnus  <burnus@net-b.de>
1154         PR fortran/47182
1155         * configure.ac: Use ACX_BUGURL.
1156         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
1157         * Makefile.am: Create libquadmath-vers.texi.
1158         * configure.in: Regenerate.
1159         * Makefile.in: Regenerate.
1161 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1163         PR fortran/47174
1164         * Makefile.am (libquadmath.info): Unconditionally override
1165         target, not only if BUILD_LIBQUADMATH.
1166         * Makefile.in: Regenerate.
1167         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
1168         avoid warning from automake.
1170 2010-12-19  Tobias Burnus  <burnus@net-b.de>
1172         PR fortran/46520
1173         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
1174         * configure: Regenerate
1176 2010-12-13  Tobias Burnus  <burnus@net-b.de>
1178         PR fortran/46625
1179         * gdtoa/gdtoaimp.h: Mangle internal functions by
1180         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
1181         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
1182         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
1183         if NO_STRING_H is set.
1184         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
1185         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
1186         __quadmath prefix to internal functions.
1187         * math/cosq.c (cosq): Ditto.
1188         * math/sinq.c (cosq): Ditto.
1189         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
1190         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
1191         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
1192         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
1194 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1196         PR fortran/46772
1197         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
1198         * gdtoa/gdtoaimp.h: Don't declare strtod.
1200 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1202         PR fortran/46520
1203         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
1204         AC_TRY_LINK and cache libquad_have_float128.
1205         * configure: Regenerate.
1207 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1209         PR fortran/46543
1210         * configure.ac: Add texinfo checks.
1211         * Makefile.am: Handle .texi documentation.
1212         * libquadmath.texi: New.
1213         * configure: Regenerated.
1214         * Makefile.in: Regenerated.
1216 2010-12-06  Tobias Burnus  <burnus@net-b.de>
1218         PR fortran/46817
1219         * quadmath-imp.h: Add LGPL header.
1220         * quadmath.h: Add LGPL header.
1221         * quadmath_io.c: Add LGPL header.
1222         * quadmath_weak.h: Add LGPL header.
1224 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1226         PR target/40125
1227         PR lto/46695
1228         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
1229         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
1230         * aclocal.m4: Regenerate.
1231         * configure: Regenerate.
1232         * Makefile.in: Regenerate.
1234 2010-11-30  Tobias Burnus  <burnus@net-b.de>
1236         PR fortran/46594
1237         * Makefile.am: Install include files in
1238         target/version specific directory.
1239         * Makefile.in: Regenerate.
1241 2010-11-30  Tobias Burnus  <burnus@net-b.de>
1243         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
1244         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
1245         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
1247 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
1249         * configure: Regenerated.
1250         * Makefile.in: Regenerated.
1251         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
1252         (target_alias): Use AC_SUBST for it.
1253         (GCC_NO_EXECUTABLES): Call it.
1254         (AC_PROG_CC): Improve multilib handling.
1255         Check that gcc is used for compilation.
1256         Use pattern from libssp for symbol versioning checking.
1257         * Makefile.am (LTLDFLAGS): Removed.
1258         (libquadmath_la_LDFLAGS): Add -no-undefined.
1259         (libquadmath_la_LINK): Commented out.
1260         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
1261         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
1262         (MAKEOVERRIDES): New.
1263         * aclocal.m4: Regenerated.
1265 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1267         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
1268         (libquadmath_la_LDFLAGS): ... here.
1269         (quadmath.map-sun): Tabify.
1270         Fix sed expression.
1271         * Makefile.in: Regenerate.
1273 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1274             Tobias Burnus  <burnus@net-b.de>
1276         PR fortran/32049
1277         Initial implementation and checkin.
1279 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1281 Copying and distribution of this file, with or without modification,
1282 are permitted in any medium without royalty provided the copyright
1283 notice and this notice are preserved.