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