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