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