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