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