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