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