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