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