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