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