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