[Ada] Adapt ghost code to maintain proof
[official-gcc.git] / libquadmath / ChangeLog
blobc2e5e59f94e27fbd2636623bdf08c4ff9b8f6eb3
1 2022-01-03  Jakub Jelinek  <jakub@redhat.com>
3         * libquadmath.texi: Bump @copying's copyright year.
5 2021-06-08  Martin Liska  <mliska@suse.cz>
7         * libquadmath.texi: Fix typo.
9 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11         * configure: Re-generate.
13 2021-01-01  Jakub Jelinek  <jakub@redhat.com>
15         * libquadmath.texi: Bump @copying's copyright year.
17 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
19         PR target/97865
20         * configure: Regenerate.
22 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
24         * configure: Regenerate.
26 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
28         PR bootstrap/95413
29         * configure: Regenerated.
31 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33         PR bootstrap/95147
34         * configure: Regenerated.
36 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38         * configure: Regenerated.
40 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
42         PR libstdc++/79193
43         PR libstdc++/88999
45         * configure: Regenerated.
47 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
49         * configure.ac: Handle `--with-toolexeclibdir='.
50         * Makefile.in: Regenerate.
51         * aclocal.m4: Regenerate.
52         * configure: Regenerate.
54 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
56         Update copyright years.
58         * libquadmath.texi: Bump @copying's copyright year.
60 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
62         * configure: Regenerate.
64 2019-08-02  Jakub Jelinek  <jakub@redhat.com>
66         * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
67         M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
68         M_SQRT1_2q): Use two more decimal places.
70 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
72         Update copyright years.
74         * libquadmath.texi: Bump @copying's copyright year.
76 2018-12-11  Jakub Jelinek  <jakub@redhat.com>
78         PR c/88430
79         * quadmath_weak.h (__qmath2): Add __quadmath_throw.
81 2018-11-07  Joseph Myers  <joseph@codesourcery.com>
83         * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
84         mantissa2 and mantissa3 fields instead of mant_high and mant_low.
85         Change nan field to ieee_nan.
86         * update-quadmath.py (update_sources): Also update fmaq.c.
87         * math/nanq.c (nanq): Use ieee_nan field of union.
88         Zero-initialize f.  Set quiet_nan field.
89         * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
90         strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
91         mantissa3 fields.  Use ieee_nan and quiet_nan field.
92         * math/fmaq.c: Regenerate from glibc sources with
93         update-quadmath.py.
95 2018-11-05  Joseph Myers  <joseph@codesourcery.com>
97         PR libquadmath/68686
98         * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
99         Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
100         math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
101         math/casinhq_kernel.c.
102         * Makefile.in: Regenerate.
103         * libquadmath.texi (exp2q, issignalingq): Document.
104         * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
105         <fenv.h>.
106         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
107         (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
108         (__quadmath_gamma_productq, __quadmath_gammaq_r)
109         (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
110         (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
111         (math_check_force_underflow_complex, __glibc_likely)
112         (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
113         (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
114         (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
115         (fesetenv, fetestexcept, feclearexcept): Define if not supported
116         through <fenv.h>.
117         (__quadmath_isinf_nsq): Remove.
118         * quadmath.h (exp2q, issignalingq): New.
119         * quadmath.map (QUADMATH_1.2): New.
120         * quadmath_weak.h (exp2q, issignalingq): New.
121         * update-quadmath.py: New file.
122         * math/isinf_nsq.c: Remove file.
123         * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
124         math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
125         math/tanq_kernel.c, math/tgammaq_product.c: New files.  Generated
126         from glibc sources with update-quadmath.py.
127         * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
128         math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
129         math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
130         math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
131         math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
132         math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
133         math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
134         math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
135         math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
136         math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
137         math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
138         math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
139         math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
140         math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
141         math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
142         math/lroundq.c, math/modfq.c, math/nearbyintq.c,
143         math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
144         math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
145         math/signbitq.c, math/sincos_table.c, math/sincosq.c,
146         math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
147         math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
148         math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
149         update-quadmath.py.
151 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
153         PR bootstrap/82856
154         * Makefile.am: Include multilib.am.
155         (AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
156         (all-local): Define outside conditional code.
157         (CLEANFILES): Remove libquadmath.info.
158         * configure.ac: Remove AC_PREREQ.
159         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
161 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
163         * configure: Regenerated.
165 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
167         * configure: Regenerated.
169 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
171         PR jit/85384
172         * configure: Regenerate.
174 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
176         PR target/84148
177         * configure: Regenerate.
179 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
181         * libquadmath.texi: Bump @copying's copyright year.
183 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
185         * Makefile.am: Update AM_CFLAGS.
186         * Makefile.in: Regenerate:
187         * acinclude.m4: Add enable.m4 and cet.m4.
188         * configure: Regenerate.
189         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
191 2017-11-05  Tom de Vries  <tom@codesourcery.com>
193         PR other/82784
194         * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
195         "do {} while (0)".
197 2017-09-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
199         PR libquadmath/81848
200         * configure.ac (powerpc*-linux*): Use attribute mode KC to create
201         complex __float128 on PowerPC instead of attribute mode TC.
202         * quadmath.h (__complex128): Likewise.
203         * configure: Regenerate.
204         * math/cbrtq.c (CBRT2): Use __float128 not long double.
205         (CBRT4): Likewise.
206         (CBRT2I): Likewise.
207         (CBRT4I): Likewise.
208         * math/j0q.c (U0): Likewise.
209         * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
210         between __float128, instead explicitly convert the __float128
211         value to long double because the PowerPC does not allow __float128
212         and long double in the same expression.
214 2017-07-19  Gerald Pfeifer  <gerald@pfeifer.com>
216         * math/powq.c (powq): Use uint32_t instead of u_int32_t.
218 2017-07-19  Jakub Jelinek  <jakub@redhat.com>
220         PR libquadmath/65757
221         * quadmath-imp.h (math_opt_barrier, math_force_eval,
222         math_narrow_eval, math_check_force_underflow,
223         math_check_force_underflow_nonneg): Define.
224         * math/ceilq.c: Backport changes from upstream glibc
225         between 2012-11-01 and 2017-07-13.
226         * math/remquoq.c: Likewise.
227         * math/expq.c: Likewise.
228         * math/llroundq.c: Likewise.
229         * math/logq.c: Likewise.
230         * math/atanq.c: Likewise.
231         * math/nearbyintq.c: Likewise.
232         * math/scalblnq.c: Likewise.
233         * math/finiteq.c: Likewise.
234         * math/atanhq.c: Likewise.
235         * math/expm1q.c: Likewise.
236         * math/sinhq.c: Likewise.
237         * math/log10q.c: Likewise.
238         * math/rintq.c: Likewise.
239         * math/roundq.c: Likewise.
240         * math/fmaq.c: Likewise.
241         * math/erfq.c: Likewise.
242         * math/log2q.c: Likewise.
243         * math/lroundq.c: Likewise.
244         * math/j1q.c: Likewise.
245         * math/scalbnq.c: Likewise.
246         * math/truncq.c: Likewise.
247         * math/frexpq.c: Likewise.
248         * math/sincosq.c: Likewise.
249         * math/tanhq.c: Likewise.
250         * math/asinq.c: Likewise.
251         * math/coshq.c: Likewise.
252         * math/j0q.c: Likewise.
253         * math/asinhq.c: Likewise.
254         * math/floorq.c: Likewise.
255         * math/sinq_kernel.c: Likewise.
256         * math/powq.c: Likewise.
257         * math/hypotq.c: Likewise.
258         * math/sincos_table.c: Likewise.
259         * math/rem_pio2q.c: Likewise.
260         * math/nextafterq.c: Likewise.
261         * math/log1pq.c: Likewise.
262         * math/sincosq_kernel.c: Likewise.
263         * math/tanq.c: Likewise.
264         * math/acosq.c: Likewise.
265         * math/lrintq.c: Likewise.
266         * math/llrintq.c: Likewise.
268 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
270         * configure.ac (ACX_BUGURL): Update.
271         * configure: Regenerate.
273 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
275         PR other/79046
276         * configure.ac: Add GCC_BASE_VER.
277         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
278         get version from BASE-VER file.
279         * configure: Regenerated.
280         * Makefile.in: Regenerated.
282 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
284         * libquadmath.texi: Bump @copying's copyright year.
286 2016-11-15  Matthias Klose  <doko@ubuntu.com>
288         * configure: Regenerate.
290 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
292         * libquadmath.texi: Bump @copying's copyright year.
294 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
296         * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
297         * Makefile.in: Regenerate.
298         * libquadmath.texi: Document logbq.
299         * quadmath.h: Add logbq prototype.
300         * quadmath.map: Add logbq.
301         * quadmath_weak.h: Add logbq prototype.
302         * math/logbq.c: New file
304 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
306         * Makefile.in: Regenerated with automake-1.11.6.
307         * aclocal.m4: Likewise.
308         * configure: Likewise.
310 2015-01-26  Matthias Klose  <doko@ubuntu.com>
312         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
313         * configure: Regenerate.
315 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
317         * libquadmath.texi: Bump @copying's copyright year.
319 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
321         PR bootstrap/63784
322         * configure: Regenerated.
324 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
326         PR target/63610
327         * configure: Regenerate.
329 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
331         PR libquadmath/55821
332         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
333         * Makefile.in: Regenerate.
335 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
337         PR libquadmath/55821
338         * Makefile.am: Conditionally define info_TEXINFOS and
339         libquadmath_TEXINFOS.
340         * Makefile.in: Regenerate.
342 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
344         PR libquadmath/63487
345         * libquadmath.texi (sincosq): Fix typo.
347 2014-01-02  Tobias Burnus  <burnus@net-b.de>
349         * libquadmath.texi: Bump @copying's copyright year.
351 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
353         * Makefile.am (AM_CPPFLAGS): Define.
354         * Makefile.in: Regenerate.
355         * printf/gmp-impl.h: Remove path from longlong.h include.
357 2013-09-20  Alan Modra  <amodra@gmail.com>
359         * configure: Regenerate.
361 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
363         PR libquadmath/55473
364         * quadmath.h: Add 'extern "C"' block for C++ use.
366 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
368         PR libquadmath/56379
369         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
370         macro.
372 2013-02-17  Tobias Burnus  <burnus@net-b.de>
374         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
376 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
378         Revert previous patch.
380 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
382         Update copyright years.
384 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
386         PR libquadmath/56072
387         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
389 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
391         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
392         instead of L suffixed ones.
393         * math/fmaq.c (fmaq): Likewise.
394         * math/rintq.c (TWO112): Likewise.
396 2012-12-03  Tobias Burnus  <burnus@net-b.de>
398         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
399         reading.
401 2012-11-25  Tobias Burnus  <burnus@net-b.de>
403         PR libquadmath/55462
404         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
405         instead of nonexisting HAVE_GET_ROUNDING_MODE.
407 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
409         PR bootstrap/55455
410         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
411         void to fegetround.
413 2012-11-23  Tobias Burnus  <burnus@net-b.de>
414             Joseph Myers  <joseph@codesourcery.com>
416         * quadmath-rounding-mode.h: New.
417         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
418         * printf/fpioconst.h: Ditto.
419         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
420         Make printf respect the rounding mode for decimal output.
421         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
422         GLIBC.  Make printf respect the rounding mode for hex output.
423         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
424         rounding mode. Fix strtod handling of underflow.
426 2012-11-22  David S. Miller  <davem@davemloft.net>
427             Tobias Burnus  <burnus@net-b.de>
428             Joseph Myers  <joseph@codesourcery.com>
430         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
431         very large arguments properly.
432         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
433         underflow when 'x' is very small.
434         * math/j1q.c (y1q): Ditto.
435         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
436         nonzero exponents with absolute value below 0x1p-128 to
437         +/- 0x1p-128.
438         * math/powq.c (powq): Update from GLIBC. If xm1 is
439         smaller than LDBL_EPSILON/2.0L, just return xm1.
441 2012-11-21  Tobias Burnus  <burnus@net-b.de>
443         PR libquadmath/55225
444         * math/lgammaq.c (lgammaq): Use local variable if
445         math.h does not provide signgam.
446         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
447         * configure.ac: Use it.
448         * configure: Regenerate.
449         * config.h.in: Regenerate.
451 2012-11-15  Tobias Burnus  <burnus@net-b.de>
452             Joseph Myers  <joseph@codesourcery.com>
454         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
455         underflows with small x * y; Fix overflow results
456         outside round-to-nearest mode; make use of Dekker
457         and Knuth algorithms use round-to-nearest.
459 2012-11-01  Tobias Burnus  <burnus@net-b.de>
461         * math/fmaq.c (fmaq): Fix build.
463 2012-11-01  Tobias Burnus  <burnus@net-b.de>
464             Joseph Myers  <joseph@codesourcery.com>
466         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
467         with small x * y using scaling, not as x * y + z.
468         * math/lgammaq.c (lgammaq): Fix signgam handling.
470 2012-11-01  Tobias Burnus  <burnus@net-b.de>
472         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
473         * Makefile.in: Regenerated.
474         * math/acoshq.c: Update comment.
475         * math/acosq.c: Ditto.
476         * math/asinhq.c: Ditto.
477         * math/asinq.c: Ditto.
478         * math/atan2q.c: Ditto.
479         * math/atanhq.c: Ditto.
480         * math/ceilq.c: Ditto.
481         * math/copysignq.c: Ditto.
482         * math/cosq.c: Ditto.
483         * math/coshq.c: Ditto.
484         * math/erfq.c: Ditto.
485         * math/fabsq.c: Ditto.
486         * math/finiteq.c: Ditto.
487         * math/floorq.c: Ditto.
488         * math/fmodq.c: Ditto.
489         * math/frexpq.c: Ditto.
490         * math/isnanq.c: Ditto.
491         * math/j0q.c: Ditto.
492         * math/j1q.c: Ditto.
493         * math/ldexpq.c: Ditto.
494         * math/llroundq.c: Ditto.
495         * math/log10q.c: Ditto.
496         * math/log1pq.c: Ditto.
497         * math/log2q.c: Ditto.
498         * math/logq.c: Ditto.
499         * math/lroundq.c: Ditto.
500         * math/modfq.c: Ditto.
501         * math/nextafterq.c: Ditto.
502         * math/powq.c: Ditto.
503         * math/rem_pio2q.c: Ditto.
504         * math/remainderq.c: Ditto.
505         * math/rintq.c: Ditto.
506         * math/roundq.c: Ditto.
507         * math/scalblnq.c: Ditto.
508         * math/scalbnq.c: Ditto.
509         * math/sincosq_kernel.c: Ditto.
510         * math/sinq.c: Ditto.
511         * math/tanq.c: Ditto.
512         * math/expq.c: Ditto.
513         (__expq_table, expq): Renamed local array from __expl_table.
514         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
515         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
516         * math/casinhq.c: Changes from GLIBC to fix special-case.
517         * math/cbrtq.c: Use modified GLIBC version.
518         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
519         ctanhq, ctanq): Moved to separates files.
520         (mult_c128, div_c128): Removed no longer needed functions.
521         (cexpiq): Call sincosq instead of sinq and cosq.
522         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
523         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
524         modified based on GLIBC.
525         * math/cexpq.c (cexp): Ditto.
526         * math/clog10q.c (clog10q): Ditto.
527         * math/clogq.c (clogq): Ditto.
528         * math/csinhq.c: Ditto.
529         * math/csinq.c: Ditto.
530         * math/csqrtq.c: Ditto.
531         * math/ctanhq.c: Ditto.
532         * math/ctanq.c: Ditto.
533         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
534         from GLIBC.
535         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
536         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
537         from GLIBC.
538         * math/lgammaq.c (lgammaq): Add signgam handling.
539         * math/sinhq.c (sinhq): Fix sign handling.
540         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
541         * math/tgammaq.c (tgammaq): Ditto.
542         * math/x2y2m1q.c: New file.
543         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
544         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
546 2012-10-31  Tobias Burnus  <burnus@net-b.de>
547             Joseph Myers <joseph@codesourcery.com>
548             David S. Miller <davem@davemloft.net>
549             Ulrich Drepper <drepper@redhat.com>
550             Marek Polacek <polacek@redhat.com>:
551             Petr Baudis <pasky@suse.cz>
553         * math/complex.c (csqrtq): NaN and INF fixes. 
554         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
555         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
556         large parameters. Fix errno for boundary conditions.
557         * math/finiteq.c (finiteq): Add comment.
558         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
559         and bad results for some subnormal results. Fix sign of inexact
560         zero return. Fix sign of exact zero return. 
561         Ensure additions are not scheduled after fetestexcept.
562         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
563         for ynq. Fix jnq precision.
564         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
565         manipulate bits before adding and subtracting TWO112[sx].
566         * math/rintq.c (rintq): Ditto.
567         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
568         overflow.
570 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
572         * configure: Regenerated.
574 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
576         PR libstdc++/51007
577         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
578         * configure: Regenerated.
580 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
582         * configure: Regenerated.
584 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
586         * configure: Regenerate.
588 2011-11-07  Kai Tietz  <ktietz@redhat.com>
590         PR target/51007
591         * quadmath-imp.h (ieee854_float128): Adjust
592         for ms-bitfield layout.
594 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
596         * printf/gmp-impl.h: Adapt path to longlong.h.
598 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
600         * Makefile.am (FLAGS_TO_PASS): Define.
601         * Makefile.in: Regenerate.
603 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
605         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
606         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
608 2011-04-03  Tobias Burnus  <burnus@net-b.de>
610         PR fortran/48311
611         * libquadmath.texi (strtoflt128): Fix typo.
612         (quadmath_snprintf): Move note up, make @item.
614 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
616         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
617         mempcpy.
619 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
621         PR bootstrap/48135
622         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
623         * configure: Regenerate.
625 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
627         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
628         that for size > 0 str is always zero terminated.
630 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
632         PR bootstrap/47827
633         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
635 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
637         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
638         FLT128_MAX_10_EXP): Document.
639         (strtoflt128): Remove obsolete comment.
640         * configure.ac (HAVE_STRTOULL): New check.
641         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
642         define.
643         * printf/mul_n.c: Include <config.h>.
644         * printf/add_n.c: Likewise.
645         * printf/cmp.c: Likewise.
646         * printf/fpioconst.c: Likewise.
647         * printf/mul_1.c: Likewise.
648         * printf/rshift.c: Likewise.
649         * printf/lshift.c: Likewise.
650         * printf/submul_1.c: Likewise.
651         * printf/sub_n.c: Likewise.
652         * printf/divrem.c: Likewise.
653         * printf/addmul_1.c: Likewise.
654         * printf/mul.c: Likewise.
655         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
656         to avoid evaluating argument multiple times.
657         (isxdigit): Redefine.
658         * strtod/strtoflt128.c: New file.
659         * strtod/strtod_l.c: New file.
660         * strtod/mpn2flt128.c: New file.
661         * strtod/grouping.h: New file.
662         * strtod/tens_in_limb.c: New file.
663         * gdtoa/arith.h: Removed.
664         * gdtoa/gd_qnan.h: Removed.
665         * gdtoa/gdtoa_fltrnds.h: Removed.
666         * gdtoa/gdtoa.h: Removed.
667         * gdtoa/gdtoaimp.h: Removed.
668         * gdtoa/gethex.c: Removed.
669         * gdtoa/gmisc.c: Removed.
670         * gdtoa/hd_init.c: Removed.
671         * gdtoa/hexnan.c: Removed.
672         * gdtoa/makefile: Removed.
673         * gdtoa/misc.c: Removed.
674         * gdtoa/README.gdtoa: Removed.
675         * gdtoa/smisc.c: Removed.
676         * gdtoa/strtodg.c: Removed.
677         * gdtoa/strtopQ.c: Removed.
678         * gdtoa/sum.c: Removed.
679         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
680         Define.
681         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
682         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
683         * config.h.in: Regenerated.
684         * configure: Regenerated.
685         * Makefile.in: Regenerated.
687 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
689         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
690         whether workarounds for printf hook handling should be added.
692         * configure.ac: Check for locale.h too.
693         (USE_LOCALE_SUPPORT): Remove check.
694         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
695         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
696         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
697         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
698         for wide version.
699         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
700         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
701         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
702         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
703         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
704         USE_I18N_NUMBER_H #ifdef.
705         * configure: Regenerated.
706         * config.h.in: Regenerated.
708 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
710         PR bootstrap/47736
711         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
712         user field.
713         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
714         field instead of setting individual fields to 0.  Don't set info.user
715         to -1.
716         * configure: Regenerated.
718         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
719         * printf/printf_fp.c: Don't include <alloca.h>.
720         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
721         * configure: Regenerated.
723         PR fortran/47642
724         * libquadmath.texi (quadmath_snprintf): Document.
725         (quadmath_flt128tostr): Remove.
726         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
727         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
728         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
729         * quadmath.h (quadmath_snprintf): New prototype.
730         (quadmath_flt128tostr): Remove.
731         * quadmath_weak.h (quadmath_snprintf): Add.
732         (quadmath_flt128tostr): Remove.
733         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
734         wctype.h, limits.h, ctype.h, printf.h, errno.h.
735         (AC_USE_SYSTEM_EXTENSIONS): Add.
736         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
737         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
738         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
739         quadmath_flt128tostr.
740         * printf/printf_fphex.c: New file.
741         * printf/_itowa.h: New file.
742         * printf/mul_n.c: New file.
743         * printf/quadmath-printf.h: New file.
744         * printf/submul_1.c: New file.
745         * printf/quadmath-printf.c: New file.
746         * printf/gmp-impl.h: New file.
747         * printf/lshift.c: New file.
748         * printf/fpioconst.h: New file.
749         * printf/add_n.c: New file.
750         * printf/cmp.c: New file.
751         * printf/sub_n.c: New file.
752         * printf/mul.c: New file.
753         * printf/divrem.c: New file.
754         * printf/addmul_1.c: New file.
755         * printf/printf_fp.c: New file.
756         * printf/_itoa.h: New file.
757         * printf/fpioconst.c: New file.
758         * printf/_i18n_number.h: New file.
759         * printf/flt1282mpn.c: New file.
760         * printf/rshift.c: New file.
761         * printf/mul_1.c: New file.
762         * quadmath_io.c: Removed.
763         * gdtoa/gdtoa.c: Removed.
764         * gdtoa/g__fmt.c: Removed.
765         * gdtoa/g_Qfmt.c: Removed.
766         * gdtoa/dmisc.c: Removed.
767         * gdtoa/ulp.c: Removed.
768         * config.h.in: Regenerated.
769         * configure: Regenerated.
770         * Makefile.in: Regenerated.
772 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
774         * Makefile.in: Regenerate.
775         * aclocal.m4: Likewise.
776         * configure: Likewise.
778 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
780         PR libquadmath/47293
781         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
782         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
784 2011-01-17  Tobias Burnus  <burnus@net-b.de>
786         PR fortran/47295
787         * libquadmath.text: Document typedef and constants.
789 2011-01-17  Tobias Burnus  <burnus@net-b.de>
791         PR fortran/46817
792         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
793         bump copyright year and use /**/ instead of // comments.
794         * quadmath.h: Ditto.
795         * quadmath-weak.h: Ditto.
796         * quadmath_io.c: Ditto.
798 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
800         PR libfortran/47322
801         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
803         PR fortran/46625
804         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
805         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
806         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
807         (strtoflt128, quadmath_flt128tostr): Add.
808         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
809         (strtoflt128): ... this.  Return __float128, instead of writing
810         to memory pointed by last argument.
811         * quadmath.h: Use C style comments instead of C++ style.
812         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
813         (strtoflt128, quadmath_flt128tostr): Add prototypes.
814         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
815         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
816         adjust examples.
817         * quadmath_io.c (quadmath_dtoaq): Rename to...
818         (quadmath_flt128tostr): ... this.
820         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
821         Use it for all prototypes.
823         PR fortran/46416
824         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
825         const from prototype argument.
826         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
827         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
828         (__quadmath_extern_inline): Define.
829         (cimagq, conjq, crealq): New inlines.
830         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
831         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
832         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
833         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
834         * Makefile.in: Regenerated.
835         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
836         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
837         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
838         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
839         tests instead of __BIG_ENDIAN__.
840         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
841         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
842         and remquoq.
843         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
844         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
845         * math/cprojq.c: New file.
846         * math/ilogbq.c: New file.
847         * math/fminq.c: New file.
848         * math/llrintq.c: New file.
849         * math/log2q.c: New file.
850         * math/lrintq.c: New file.
851         * math/crealq.c: New file.
852         * math/nearbyintq.c: New file.
853         * math/fmaxq.c: New file.
854         * math/conjq.c: New file.
855         * math/remquoq.c: New file.
856         * math/cimagq.c: New file.
857         * math/fdimq.c: New file.
859         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
861         PR fortran/46416
862         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
863         New prototypes.
864         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
865         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
866         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
867         catanhq): Add.
868         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
869         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
870         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
871         catanq and catanhq.
872         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
873         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
874         and math/catanhq.c.
875         * Makefile.in: Regenerated.
876         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
877         catanq, catanhq): Add.
878         * math/cacoshq.c: New file.
879         * math/cacosq.c: New file.
880         * math/catanq.c: New file.
881         * math/catanhq.c: New file.
882         * math/casinq.c: New file.
883         * math/casinhq.c: New file.
885         * math/hypotq.c (hypotq): Use Q suffix instead of L.
886         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
887         * math/cosq.c (cosq): Likewise.
889         PR fortran/46402
890         * quadmath.map (QUADMATH_1.0): Add fmaq.
891         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
892         feupdateenv, fesetenv and fetestexcept.
893         * configure: Regenerated.
894         * config.h.in: Regenerated.
895         * quadmath.h (fmaq): New prototype.
896         * quadmath_weak.h (fmaq): Add.
897         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
898         * Makefile.in: Regenerated.
899         * quadmath-imp.h: Include config.h.
900         * math/expq.c: Include fenv.h.
901         (USE_FENV_H): Define if libm support for fe* is there.
902         (expq): Add fesetround etc. support if USE_FENV_H is defined.
903         * math/fmaq.c: New file.
904         * libquadmath.texi (fmaq): Add.
906 2011-01-14  Tobias Burnus  <burnus@net-b.de>
908         PR fortran/47182
909         * configure.ac: Use ACX_BUGURL.
910         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
911         * Makefile.am: Create libquadmath-vers.texi.
912         * configure.in: Regenerate.
913         * Makefile.in: Regenerate.
915 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
917         PR fortran/47174
918         * Makefile.am (libquadmath.info): Unconditionally override
919         target, not only if BUILD_LIBQUADMATH.
920         * Makefile.in: Regenerate.
921         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
922         avoid warning from automake.
924 2010-12-19  Tobias Burnus  <burnus@net-b.de>
926         PR fortran/46520
927         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
928         * configure: Regenerate
930 2010-12-13  Tobias Burnus  <burnus@net-b.de>
932         PR fortran/46625
933         * gdtoa/gdtoaimp.h: Mangle internal functions by
934         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
935         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
936         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
937         if NO_STRING_H is set.
938         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
939         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
940         __quadmath prefix to internal functions.
941         * math/cosq.c (cosq): Ditto.
942         * math/sinq.c (cosq): Ditto.
943         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
944         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
945         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
946         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
948 2010-12-08  Tobias Burnus  <burnus@net-b.de>
950         PR fortran/46772
951         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
952         * gdtoa/gdtoaimp.h: Don't declare strtod.
954 2010-12-08  Tobias Burnus  <burnus@net-b.de>
956         PR fortran/46520
957         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
958         AC_TRY_LINK and cache libquad_have_float128.
959         * configure: Regenerate.
961 2010-12-08  Tobias Burnus  <burnus@net-b.de>
963         PR fortran/46543
964         * configure.ac: Add texinfo checks.
965         * Makefile.am: Handle .texi documentation.
966         * libquadmath.texi: New.
967         * configure: Regenerated.
968         * Makefile.in: Regenerated.
970 2010-12-06  Tobias Burnus  <burnus@net-b.de>
972         PR fortran/46817
973         * quadmath-imp.h: Add LGPL header.
974         * quadmath.h: Add LGPL header.
975         * quadmath_io.c: Add LGPL header.
976         * quadmath_weak.h: Add LGPL header.
978 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
980         PR target/40125
981         PR lto/46695
982         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
983         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
984         * aclocal.m4: Regenerate.
985         * configure: Regenerate.
986         * Makefile.in: Regenerate.
988 2010-11-30  Tobias Burnus  <burnus@net-b.de>
990         PR fortran/46594
991         * Makefile.am: Install include files in
992         target/version specific directory.
993         * Makefile.in: Regenerate.
995 2010-11-30  Tobias Burnus  <burnus@net-b.de>
997         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
998         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
999         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
1001 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
1003         * configure: Regenerated.
1004         * Makefile.in: Regenerated.
1005         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
1006         (target_alias): Use AC_SUBST for it.
1007         (GCC_NO_EXECUTABLES): Call it.
1008         (AC_PROG_CC): Improve multilib handling.
1009         Check that gcc is used for compilation.
1010         Use pattern from libssp for symbol versioning checking.
1011         * Makefile.am (LTLDFLAGS): Removed.
1012         (libquadmath_la_LDFLAGS): Add -no-undefined.
1013         (libquadmath_la_LINK): Commented out.
1014         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
1015         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
1016         (MAKEOVERRIDES): New.
1017         * aclocal.m4: Regenerated.
1019 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1021         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
1022         (libquadmath_la_LDFLAGS): ... here.
1023         (quadmath.map-sun): Tabify.
1024         Fix sed expression.
1025         * Makefile.in: Regenerate.
1027 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1028             Tobias Burnus  <burnus@net-b.de>
1030         PR fortran/32049
1031         Initial implementation and checkin.
1033 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1035 Copying and distribution of this file, with or without modification,
1036 are permitted in any medium without royalty provided the copyright
1037 notice and this notice are preserved.