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