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